English
Class: D3PTooltip
Defined in: core/tooltip.ts:189
Convenience bundle: manager + container attached together.
Constructors
Constructor
ts
new D3PTooltip(opts?): D3PTooltip;Defined in: core/tooltip.ts:195
Parameters
opts?
D3PTooltipManagerOptions & D3PTooltipContainerOptions = {}
Returns
D3PTooltip
Methods
addToChart()
ts
addToChart(chart): void;Defined in: core/tooltip.ts:201
Attaches the manager and the container to the chart.
Parameters
chart
Returns
void
destroy()
ts
destroy(): void;Defined in: core/tooltip.ts:211
Destroys the manager and the container.
Returns
void
removeFromChart()
ts
removeFromChart(chart): void;Defined in: core/tooltip.ts:206
Detaches the manager and the container from the chart.
Parameters
chart
Returns
void
Properties
container
ts
readonly container: D3PTooltipContainer;Defined in: core/tooltip.ts:193
The container that draws the box.
manager
ts
readonly manager: D3PTooltipManager;Defined in: core/tooltip.ts:191
The manager that tells what the tooltip shows.