Coord class abstract

Specification of the coordinate.

As in a plane, The count of coordinate dimensions can be 1 or 2 (Which is set by dimCount).

For a 2 dimensions coordinate, the coordinate will have both domain dimension (usually denoted as "x") and measure dimension (usually denoted as "y").

For a 1 dimension coordinate, the coordinate will only have measure dimension, and all points' domain dimensions will be set to dimFill for rendering position.

The coordinate region is the visual boundary rectangle of the coordinate on the chart widget. It is determined by chart size and padding. the coordinate range may be smaller or larger than the region. The range properties of RectCoord and PolarCoord is are define in ratio to coordinate region.

Implementers

Constructors

Coord({int? dimCount, double? dimFill, bool? transposed, Color? color, Gradient? gradient})
Creates a coordinate.

Properties

color Color?
The color of this coordinate region.
read / write
dimCount int?
The count of coordinate dimensions.
read / write
dimFill double?
The position value to fill the domain dimension when dimCount is 1.
read / write
gradient Gradient?
The gradient of this coordinate region.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
layer int?
The layer of this coordinate region background.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
transposed bool?
Weither to transpose domain dimension and measure dimension.
read / write

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.
override