ZoomPanArgs class

Holds the zooming event arguments.

In this ZoomPanArg events will trigger 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
Chart Axis types and property
final
currentZoomFactor double
Zoom factor for currrent position.
read / write
currentZoomPosition double
Position of current zooom.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
previousZoomFactor double
Previous zoom factor.
final
previousZoomPosition double
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