ChartTransform class

pan/zoom transformation that will convert time and value into x y

Constructors

ChartTransform({required double sx, required double tx, required double sy, required double ty})
const
ChartTransform.forScale({required int minTime, required int maxTime, required int width, required int leftMargin, required double minValue, required double maxValue, required int height, required int topMargin})
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sx → double
final
sy → double
final
tx → double
final
ty → double
final

Methods

apply(int time, double value) → ({double x, double y})
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