Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
getDataTimestamps
Method · 0.95
getLabelTimestamps
Method · 0.95
Calls
1
_arrayUnique
Function · 0.85
Tested by
no test coverage detected