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

Method tooltipPosition

src/core/core.element.ts:17–20  ·  view source on GitHub ↗
(useFinalPosition: boolean)

Source from the content-addressed store, hash-verified

15 $animations: Record<keyof T, Animation>;
16
17 tooltipPosition(useFinalPosition: boolean): Point {
18 const {x, y} = this.getProps(['x', 'y'], useFinalPosition);
19 return {x, y} as Point;
20 }
21
22 hasValue() {
23 return isNumber(this.x) && isNumber(this.y);

Callers 6

testSliceFunction · 0.45
averageFunction · 0.45
nearestFunction · 0.45

Calls 1

getPropsMethod · 0.95

Tested by

no test coverage detected