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.
getter/setter pair
dimCount ↔ int?
The count of coordinate dimensions.
getter/setter pair
dimFill ↔ double?
The position value to fill the domain dimension when dimCount is 1.
getter/setter pair
gradient ↔ Gradient?
The gradient of this coordinate region.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
layer ↔ int?
The layer of this coordinate region background.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
transposed ↔ bool?
Weither to transpose domain dimension and measure dimension.
getter/setter pair

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