Skip to content

Vizzu / Modules / events / LineDrawEvent

Interface: LineDrawEvent\

events.LineDrawEvent

Event of drawing a line.

Type parameters

Name
T

Hierarchy

  • Event\<T>

    LineDrawEvent

Properties

renderingContext

Optional renderingContext: CanvasRenderingContext2D

For drawing events the rendering context of the underlying canvas set up for drawing the element.

Inherited from

Event.renderingContext


target

target: null | T

The element of the chart the event triggered on.

Inherited from

Event.target

Methods

preventDefault

preventDefault(): void

If called, the default action of the event will be canceled.

Returns

void

Inherited from

Event.preventDefault