ZoomBehavior class abstract

Holds the zooming gestures.

You can zoom in and zoom out using Zoom behavior. 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.
no setterinherited
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
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(ChartAxisRendererDetails axisDetails, 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
A string representation of this object.
inherited

Operators

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