ChartTransform class

Implemented types

Constructors

ChartTransform({required ILayoutData dimensions, required Matrix4 pathTransform})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewportHeight double
Logical viewport height for the chart, after its rotation dimension swap.
no setteroverride
viewportWidth double
Logical viewport width for the chart, after its rotation dimension swap.
no setteroverride

Methods

antiScalar(double value) double
If we cannot (re)draw the path after applying the transformation, we need to apply an anti-scaling factor to values such as stroke width, radius, and similar properties.
dataX(double value) double
Converts an X-axis data-space interval to a screen-space magnitude.
override
dataY(double value) double
Converts a Y-axis data-space interval to a screen-space magnitude.
override
length(ILengthValue value) double
Resolves a visual length in the current viewport and data transform.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
path(Path path) Path
toString() String
A string representation of this object.
inherited
v3(Vector3 v3) → Vector3
xy(double x, double y) Offset

Operators

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