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

Method getLabelForValue

src/core/core.scale.js:882–884  ·  view source on GitHub ↗

* Used to get the label to display in the tooltip for the given value * @param {*} value * @return {string}

(value)

Source from the content-addressed store, hash-verified

880 * @return {string}
881 */
882 getLabelForValue(value) {
883 return value;
884 }
885
886 /**
887 * Returns the location of the given data point. Value can either be an index or a numerical value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected