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

Function getLabels

test/specs/core.ticks.tests.js:1–3  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

1function getLabels(scale) {
2 return scale.ticks.map(t => t.label);
3}
4
5describe('Test tick generators', function() {
6 // formatters are used as default config values so users want to be able to reference them

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected