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

Function values

src/core/core.ticks.js:16–18  ·  view source on GitHub ↗

* Formatter for value labels * @method Chart.Ticks.formatters.values * @param value the value to display * @return {string|string[]} the label to display

(value)

Source from the content-addressed store, hash-verified

14 * @return {string|string[]} the label to display
15 */
16 values(value) {
17 return isArray(value) ? /** @type {string[]} */ (value) : '' + value;
18 },
19
20 /**
21 * Formatter for numeric ticks

Callers

nothing calls this directly

Calls 1

isArrayFunction · 0.85

Tested by

no test coverage detected