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

Method normalize

src/scales/scale.time.js:671–674  ·  view source on GitHub ↗

* @param {number[]} values * @protected

(values)

Source from the content-addressed store, hash-verified

669 * @protected
670 */
671 normalize(values) {
672 // It seems to be somewhat faster to do sorting first
673 return _arrayUnique(values.sort(sorter));
674 }
675}

Callers 2

getDataTimestampsMethod · 0.95
getLabelTimestampsMethod · 0.95

Calls 1

_arrayUniqueFunction · 0.85

Tested by

no test coverage detected