Skip to content

Interface: D3PTooltipData ​

Defined in: core/tooltip.ts:23

What a tooltip shows: where it is, on which side of the point to put the box, and what was found under the pointer for each series.

Properties ​

series ​

ts
series: D3PProbeHit[];

Defined in: core/tooltip.ts:33

What was found under the pointer, for each series.


x ​

ts
x: number;

Defined in: core/tooltip.ts:25

Pixel position (inner coordinates).


xSide ​

ts
xSide: "right" | "left";

Defined in: core/tooltip.ts:29

Where to put the box relative to the point so that it stays inside the chart.


y ​

ts
y: number;

Defined in: core/tooltip.ts:27

Y position of the point, in pixels (in the plot).


ySide ​

ts
ySide: "top" | "bottom";

Defined in: core/tooltip.ts:31

Whether the box goes above or below the point to stay in the chart.