ZoomBehavior class

Holds the zooming gestures.

You can zoom in and zoom out using Zoombehavior. It can be used to customize the DoubleTap zooming, selection zooming and zoomPinching.

Implementers

Constructors

ZoomBehavior()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
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
onDoubleTap(double xPos, double yPos, double zoomFactor) → void
Hits while double tapping on the chart. [...]
onDrawSelectionZoomRect(double currentX, double currentY, double startX, double startY) → void
Chart can be zoomed by a rectangular selecting region on the plot area. [...]
onPaint(Canvas canvas) → void
To paint in the chart plot area. [...]
onPan(double xPos, double yPos) → void
Hits while double tapping on the chart. [...]
onPinch(ChartAxisRenderer axisRenderer, double position, double scaleFactor) → void
Pinching can be performed by moving two fingers over the chart. [...]
onPinchEnd(ChartAxis axis, double firstX, double firstY, double secondX, double secondY, double scaleFactor) → void
Chart can be pinched to zoom in / zoom out for ending position. [...]
onPinchStart(ChartAxis axis, double firstX, double firstY, double secondX, double secondY, double scaleFactor) → void
Chart can be pinched to zoom in / zoom out for starting position. [...]
toString() String
Returns a string representation of this object.
inherited

Operators

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