Skip to content

Class: D3PFunctionMarker ​

Defined in: core/marker.ts:200

A marker made of functions: for renderers whose highlight is part of their own drawing (a slice pulled out of a pie).

Implements ​

Accessors ​

interactive ​

Get Signature ​

ts
get interactive(): boolean;

Defined in: core/marker.ts:209

The marker is a hover effect on its own: it asks for an interaction area, where dots wait for a tooltip or a cursor to ask.

Returns ​

boolean

The marker is a hover effect on its own: it asks for an interaction area, where dots wait for a tooltip or a cursor to ask.

Implementation of ​

D3PMarker.interactive

Constructors ​

Constructor ​

ts
new D3PFunctionMarker(handlers): D3PFunctionMarker;

Defined in: core/marker.ts:201

Parameters ​

handlers ​
interactive? ​

() => boolean

hide ​

(chart) => void

show ​

(chart, hit) => void

Returns ​

D3PFunctionMarker

Methods ​

hide() ​

ts
hide(chart): void;

Defined in: core/marker.ts:216

The renderer has nothing under the pointer (or the pointer left the chart).

Parameters ​

chart ​

D3PChart

Returns ​

void

Implementation of ​

D3PMarker.hide


remove() ​

ts
remove(chart): void;

Defined in: core/marker.ts:219

Drop everything drawn on chart, at once.

Parameters ​

chart ​

D3PChart

Returns ​

void

Implementation of ​

D3PMarker.remove


show() ​

ts
show(chart, hit): void;

Defined in: core/marker.ts:213

The renderer has a hit for the pointer.

Parameters ​

chart ​

D3PChart

hit ​

D3PProbeHit

Returns ​

void

Implementation of ​

D3PMarker.show