MCPcopy Create free account
hub / github.com/chartjs/Chart.js / includeOptions

Method includeOptions

src/core/core.datasetController.js:914–916  ·  view source on GitHub ↗

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

(mode, sharedOptions)

Source from the content-addressed store, hash-verified

912 * @protected
913 */
914 includeOptions(mode, sharedOptions) {
915 return !sharedOptions || isDirectUpdateMode(mode) || this.chart._animationsDisabled;
916 }
917
918 /**
919 * @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