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

Method chartOptionScopes

src/core/core.config.js:331–342  ·  view source on GitHub ↗

* Returns the option scopes for resolving chart options * @return {object[]}

()

Source from the content-addressed store, hash-verified

329 * @return {object[]}
330 */
331 chartOptionScopes() {
332 const {options, type} = this;
333
334 return [
335 options,
336 overrides[type] || {},
337 defaults.datasets[type] || {}, // https://github.com/chartjs/Chart.js/issues/8531
338 {type},
339 defaults,
340 descriptors
341 ];
342 }
343
344 /**
345 * @param {object[]} scopes

Callers 2

constructorMethod · 0.80
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected