Skip to content

Class: D3PCellMarker ​

Defined in: core/marker.ts:146

Outlines the cell of the hit (a bar, a heatmap cell), in any coordinate system.

Implements ​

Constructors ​

Constructor ​

ts
new D3PCellMarker(opts?): D3PCellMarker;

Defined in: core/marker.ts:157

Parameters ​

opts? ​

D3PCellMarkerOptions = {}

Returns ​

D3PCellMarker

Methods ​

hide() ​

ts
hide(chart): void;

Defined in: core/marker.ts:185

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:189

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:164

The renderer has a hit for the pointer.

Parameters ​

chart ​

D3PChart

hit ​

D3PProbeHit

Returns ​

void

Implementation of ​

D3PMarker.show

Properties ​

fill ​

ts
fill: string;

Defined in: core/marker.ts:148

Fill of the outline.


fillOpacity ​

ts
fillOpacity: number;

Defined in: core/marker.ts:150

Opacity of the fill.


stroke ​

ts
stroke: string;

Defined in: core/marker.ts:152

Color of the outline.


strokeWidth ​

ts
strokeWidth: number;

Defined in: core/marker.ts:154

Width of the outline, in pixels.