Skip to content

Interface: D3PTooltipContainerOptions ​

Defined in: core/tooltip.ts:138

Options of the HTML container of a tooltip: those of an HTML container, and the offset of the box from the point.

Extends ​

Properties ​

bus? ​

ts
bus?: D3PBus;

Defined in: core/html.ts:19

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

Inherited from ​

D3PHtmlContainerOptions.bus


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>

Inherited from ​

D3PHtmlContainerOptions.layer


offsetX? ​

ts
offsetX?: number;

Defined in: core/tooltip.ts:140

Distance of the box from the point, to its right, in pixels (10 by default).


offsetY? ​

ts
offsetY?: number;

Defined in: core/tooltip.ts:142

Distance of the box from the point, below it, in pixels (10 by default).