Skip to content

Interface: D3PHtmlContainerOptions ​

Defined in: core/html.ts:17

Options of an HTML container: the bus, and the layer of the chart that receives it.

Extended by ​

Properties ​

bus? ​

ts
bus?: D3PBus;

Defined in: core/html.ts:19

The bus the container uses (the global bus by default).


layer? ​

ts
layer?: (layers) => Selection<SVGGElement, unknown, null, undefined>;

Defined in: core/html.ts:25

Layer receiving the foreignObject. Default: interaction.front, above the interaction area, so that clickable content (a legend, an anchor) is not covered by it. The foreignObject itself lets the pointer through; only the content opts in with pointer-events: auto.

Parameters ​

layers ​

D3PChartLayers

Returns ​

Selection<SVGGElement, unknown, null, undefined>