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

Method getValueForPixel

src/types/index.d.ts:1344–1344  ·  src/types/index.d.ts::Scale.getValueForPixel

* 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: number)

Source from the content-addressed store, hash-verified

1342 * @return {*}
1343 */
1344 getValueForPixel(pixel: number): number | undefined;
1345
1346 getBaseValue(): number;
1347 /**

Implementers 1

Scalesrc/core/core.scale.js

Calls

no outgoing calls

Tested by

no test coverage detected