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

Method getCenterPoint

src/types/index.d.ts:1821–1821  ·  view source on GitHub ↗
(useFinalPosition?: boolean)

Source from the content-addressed store, hash-verified

1819 inXRange(mouseX: number, useFinalPosition?: boolean): boolean;
1820 inYRange(mouseY: number, useFinalPosition?: boolean): boolean;
1821 getCenterPoint(useFinalPosition?: boolean): Point;
1822 getRange?(axis: 'x' | 'y'): number;
1823}
1824

Callers 8

testSliceFunction · 0.65
runFunction · 0.65
evaluationFuncFunction · 0.65
nearestFunction · 0.65

Implementers 2

BarElementsrc/elements/element.bar.js
PointElementsrc/elements/element.point.ts

Calls

no outgoing calls

Tested by

no test coverage detected