PointsColumn class
Represents a column of StackableValuePoints, with support for both stacked and non-stacked charts.
Corresponds to one column of data from ChartData.dataRows, ready for presentation by Presenter
s.
The
- unstacked (such as in the line chart), in which case it manages stackableValuePoints that have values from ChartData.dataRows.
- stacked (such as in the bar chart), in which case it manages stackableValuePoints that have values added up from ChartData.dataRows.
Negative and positive points must be stacked separately, to support correctly displayed stacked values above and below zero.
Constructors
-
PointsColumn({required List<
StackableValuePoint> points}) -
Construct column from the passed
points
.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- nextRightPointsColumn ↔ PointsColumn?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stackableValuePoints
↔ List<
StackableValuePoint> -
List of charted values in this column
getter/setter pair
-
stackedNegativePoints
↔ List<
StackableValuePoint> -
List of stacked negative value points - support for stacked type charts,
where negative and positive points must be stacked separately,
above and below zero.
getter/setter pair
-
stackedPositivePoints
↔ List<
StackableValuePoint> -
List of stacked positive or zero value points - support for stacked type charts,
where negative and positive points must be stacked separately,
above and below zero.
getter/setter pair
Methods
-
allPoints(
) → Iterable< StackableValuePoint> - Column Utility for iterating over all points in order
-
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