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

Method inYRange

src/elements/element.point.ts:72–74  ·  view source on GitHub ↗
(mouseY: number, useFinalPosition?: boolean)

Source from the content-addressed store, hash-verified

70 }
71
72 inYRange(mouseY: number, useFinalPosition?: boolean) {
73 return inRange(this, mouseY, 'y', useFinalPosition);
74 }
75
76 getCenterPoint(useFinalPosition?: boolean) {
77 const {x, y} = this.getProps(['x', 'y'], useFinalPosition);

Callers

nothing calls this directly

Calls 1

inRangeFunction · 0.70

Tested by

no test coverage detected