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

Method inXRange

src/elements/element.point.ts:68–70  ·  view source on GitHub ↗
(mouseX: number, useFinalPosition?: boolean)

Source from the content-addressed store, hash-verified

66 }
67
68 inXRange(mouseX: number, useFinalPosition?: boolean) {
69 return inRange(this, mouseX, 'x', useFinalPosition);
70 }
71
72 inYRange(mouseY: number, useFinalPosition?: boolean) {
73 return inRange(this, mouseY, 'y', useFinalPosition);

Callers

nothing calls this directly

Calls 1

inRangeFunction · 0.70

Tested by

no test coverage detected