Skip to content

Interface: D3PLabelAnchor ​

Defined in: core/coords.ts:48

Where the label of the cursor goes on an axis: a point, and how the box sits on it.

Properties ​

flip ​

ts
flip: boolean;

Defined in: core/coords.ts:58

Whether the box goes on the other side (above rather than under the axis, left rather than right).


kind ​

ts
kind: "x" | "y";

Defined in: core/coords.ts:54

x: the box hangs under (or above) the point; y: it sits on its side.


x ​

ts
x: number;

Defined in: core/coords.ts:50

Where the box is placed: x, in pixels.


y ​

ts
y: number;

Defined in: core/coords.ts:52

Where the box is placed: y, in pixels.