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.
getter/setter pair
- currentZoomPosition ↔ double
-
Get and set the current zoom position.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited