MCPcopy
hub / github.com/chartjs/Chart.js / _descriptors

Method _descriptors

src/core/core.plugins.js:89–99  ·  view source on GitHub ↗

* @param {Chart} chart * @private

(chart)

Source from the content-addressed store, hash-verified

87 * @private
88 */
89 _descriptors(chart) {
90 if (this._cache) {
91 return this._cache;
92 }
93
94 const descriptors = this._cache = this._createDescriptors(chart);
95
96 this._notifyStateChanges(chart);
97
98 return descriptors;
99 }
100
101 _createDescriptors(chart, all) {
102 const config = chart && chart.config;

Callers 1

notifyMethod · 0.95

Calls 2

_createDescriptorsMethod · 0.95
_notifyStateChangesMethod · 0.95

Tested by

no test coverage detected