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

Method includeOptions

src/core/core.datasetController.js:878–880  ·  src/core/core.datasetController.js::DatasetController.includeOptions

* Utility for determining if `options` should be included in the updated properties * @protected

(mode, sharedOptions)

Source from the content-addressed store, hash-verified

876 * @protected
877 */
878 includeOptions(mode, sharedOptions) {
879 return !sharedOptions || isDirectUpdateMode(mode) || this.chart._animationsDisabled;
880 }
881
882 /**
883 * @todo v4, rename to getSharedOptions and remove excess functions

Callers 2

_getSharedOptionsMethod · 0.95
updateElementsMethod · 0.80

Calls 1

isDirectUpdateModeFunction · 0.85

Tested by

no test coverage detected