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

Function values

src/core/core.ticks.js:37–39  ·  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

35 * @return {string|string[]} the label to display
36 */
37 values(value) {
38 return isArray(value) ? /** @type {string[]} */ (value) : '' + value;
39 },
40
41 /**
42 * Formatter for numeric ticks

Callers

nothing calls this directly

Calls 1

isArrayFunction · 0.85

Tested by

no test coverage detected