MCPcopy Create free account
hub / github.com/chartjs/Chart.js / scale.linear.spec.js

File scale.linear.spec.js

test/specs/scale.linear.spec.js  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1function getLabels(scale) {
2 return scale.ticks.map(t => t.label);
3}
4

Callers

nothing calls this directly

Calls 12

getTicksFunction · 0.85
expectFiniteIncreasingFunction · 0.85
labelsOverHalfTheAxisFunction · 0.85
getDatasetMetaMethod · 0.80
getLabelsFunction · 0.70
getScaleMethod · 0.65
updateMethod · 0.65
getLabelForValueMethod · 0.65
determineDataLimitsMethod · 0.65
buildTicksMethod · 0.65
getPixelForValueMethod · 0.65
getValueForPixelMethod · 0.65

Tested by

no test coverage detected