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

Method getLabelForValue

src/core/core.scale.js:877–879  ·  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

875 * @return {string}
876 */
877 getLabelForValue(value) {
878 return value;
879 }
880
881 /**
882 * 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