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

Method getAllParsedValues

src/core/core.datasetController.js:662–674  ·  src/core/core.datasetController.js::DatasetController.getAllParsedValues
(scale)

Source from the content-addressed store, hash-verified

660 }
661
662 getAllParsedValues(scale) {
663 const parsed = this._cachedMeta._parsed;
664 const values = [];
665 let i, ilen, value;
666
667 for (i = 0, ilen = parsed.length; i < ilen; ++i) {
668 value = parsed[i][scale.axis];
669 if (isFinite(value)) {
670 values.push(value);
671 }
672 }
673 return values;
674 }
675
676 /**
677 * @return {number|boolean}

Callers 2

getAllScaleValuesFunction · 0.80
getDataTimestampsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected