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

Function getLabels

test/specs/core.scale.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('Core.scale', function() {
6 describe('auto', jasmine.fixture.specs('core.scale'));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected