ZoomEvent
Arguments for the zoom
event.
axisRanges
{[name: string]: AxisRange}
A dictionary which contains the range (min and max values) of named axes. The axis name is used as a key.
The dictionary includes only the affected axis ranges. If an axis is locked or its range is not modified, the axis will not be listed.
delta
number
A number that indicates the zoom amount and direction. A negative value indicates a zoom-in action. A positive value indicates a zoom-out action.
originalEvent
any
The original user event that triggered the drag action.
sender
The ChartComponent
that triggered the event.
Methods
isDefaultPrevented
Returns true
if the event was prevented
by any of its subscribers.
Returns
boolean
true
if the default action was prevented.
Otherwise, returns false
.
preventDefault
Prevents the default action for a specified event. In this way, the source component suppresses the built-in behavior that follows the event.