Skip to content

Interface: D3PHtmlChartData<D> ​

Defined in: core/html.ts:7

What an HTML container keeps for a chart: its foreignObject, its div and its own data.

Type Parameters ​

D ​

D

Properties ​

data ​

ts
data: D | undefined;

Defined in: core/html.ts:13

What the container shows, if anything (the data of a tooltip).


div ​

ts
div: Selection<HTMLDivElement, unknown, null, undefined>;

Defined in: core/html.ts:11

The div the HTML content goes in.


fo ​

ts
fo: Selection<SVGForeignObjectElement, unknown, null, undefined>;

Defined in: core/html.ts:9

The foreignObject that holds the div in the svg.