Skip to content

Interface: D3PChartEventMap ​

Defined in: core/chart.ts:50

Typed table of per-chart dynamic events (chart.event(name)). Modules extend it through declaration merging, e.g. declare module 'd3pict' { interface D3PChartEventMap { foo: Foo } }.

Properties ​

drag ​

ts
drag: D3PDragEvent;

Defined in: core/chart.ts:65

The pointer is dragged with the button down.


dragend ​

ts
dragend: D3PDragEvent;

Defined in: core/chart.ts:67

The drag ended: the button was released.


legendChanged ​

ts
legendChanged: D3PLegend;

Defined in: core/chart.ts:74

The legend changed: it carries what it lists.


mousedown ​

ts
mousedown: D3PPointerEvent;

Defined in: core/chart.ts:55

The button went down on the chart.


mouseleave ​

ts
mouseleave: D3PPointerEvent;

Defined in: core/chart.ts:61

The pointer left the chart.


mousemove ​

ts
mousemove: D3PPointerEvent;

Defined in: core/chart.ts:57

The pointer moved over the chart.


mouseup ​

ts
mouseup: D3PPointerEvent;

Defined in: core/chart.ts:59

The button was released.


needInteractionArea ​

ts
needInteractionArea: D3PChart;

Defined in: core/chart.ts:52

Someone needs an interaction area and none is registered (adapters may create one).


tooltipHide ​

ts
tooltipHide: void;

Defined in: core/chart.ts:72

The tooltip was hidden.


tooltipShow ​

ts
tooltipShow: D3PTooltipData;

Defined in: core/chart.ts:70

The tooltip was shown, with this content.


wheel ​

ts
wheel: D3PWheelEvent;

Defined in: core/chart.ts:63

The wheel turned over the chart.