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

Function callback

test/types/scales/options.ts:34–37  ·  view source on GitHub ↗
(tickValue)

Source from the content-addressed store, hash-verified

32 y: {
33 ticks: {
34 callback(tickValue) {
35 const value = this.getLabelForValue(tickValue as number);
36 return '$' + value;
37 }
38 }
39 }
40 }

Callers

nothing calls this directly

Calls 1

getLabelForValueMethod · 0.65

Tested by

no test coverage detected