Skip to content

Interface: D3PRAnchorProps ​

Defined in: react/index.ts:209

Props of D3PRAnchor: the anchor, its box and the point of the box that sits on the anchor.

Properties ​

anchor ​

ts
anchor: D3PAnchor;

Defined in: react/index.ts:211

The anchor that gives the container.


children? ​

ts
children?: (chart) => ReactNode;

Defined in: react/index.ts:223

Renders the content, for each chart the anchor is on.

Parameters ​

chart ​

D3PChart

Returns ​

ReactNode


height? ​

ts
height?: number;

Defined in: react/index.ts:219

Height of the box of the content, in pixels.


point? ​

ts
point?: object;

Defined in: react/index.ts:221

Anchor point of the content in [-1, 1]: (-1,-1) top-left, (1,1) bottom-right.

x ​

ts
x: number;

y ​

ts
y: number;

width? ​

ts
width?: number;

Defined in: react/index.ts:217

Width of the box of the content, in pixels.


x? ​

ts
x?: number;

Defined in: react/index.ts:213

Position of the box, in pixels from the left of the chart.


y? ​

ts
y?: number;

Defined in: react/index.ts:215

Position of the box, in pixels from the top of the chart.