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

Method configure

src/core/core.datasetController.js:438–445  ·  view source on GitHub ↗

* Merges user-supplied and default dataset-level options * @private

()

Source from the content-addressed store, hash-verified

436 * @private
437 */
438 configure() {
439 const config = this.chart.config;
440 const scopeKeys = config.datasetScopeKeys(this._type);
441 const scopes = config.getOptionScopes(this.getDataset(), scopeKeys, true);
442 this.options = config.createResolver(scopes, this.getContext());
443 this._parsing = this.options.parsing;
444 this._cachedDataOpts = {};
445 }
446
447 /**
448 * @param {number} start

Callers 1

initializeMethod · 0.95

Calls 5

getDatasetMethod · 0.95
getContextMethod · 0.95
datasetScopeKeysMethod · 0.80
getOptionScopesMethod · 0.80
createResolverMethod · 0.80

Tested by

no test coverage detected