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

Function getLabels

test/specs/scale.time.tests.js:27–29  ·  view source on GitHub ↗
(scale)

Source from the content-addressed store, hash-verified

25 }
26
27 function getLabels(scale) {
28 return scale.ticks.map(t => t.label);
29 }
30
31 beforeEach(function() {
32 // Need a time matcher for getValueFromPixel

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected