ZoomPanArgs class

Holds the zooming event arguments.

The zooming events are onZooming, onZoomStart, onZoomEnd and onZoomReset. It contains axis, currentZoomPosition, currentZoomFactor, previousZoomPosition and previousZoomFactor arguments.

Note: This is only applicable for SfCartesianChart.

Constructors

ZoomPanArgs([ChartAxis axis, double previousZoomPosition, double previousZoomFactor])
Creating an argument constructor of ZoomPanArgs class.

Properties

axis ChartAxis
Get the chart axis types and properties.
final
currentZoomFactor ↔ double
Get and set the current zoom factor.
read / write
currentZoomPosition ↔ double
Get and set the current zoom position.
read / write
hashCode → int
The hash code for this object. [...]
read-only, inherited
previousZoomFactor → double
Get the previous zoom factor.
final
previousZoomPosition → double
Get the previous zooom position.
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited