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

Method getValueForPixel

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

* Used to get the data value from a given pixel. This is the inverse of getPixelForValue * The coordinate (0, 0) is at the upper-left corner of the canvas * @param {number} pixel * @return {*}

(pixel)

Source from the content-addressed store, hash-verified

896 * @return {*}
897 */
898 getValueForPixel(pixel) {} // eslint-disable-line no-unused-vars
899
900 /**
901 * Returns the location of the tick at the given index

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected