DataContainer class abstract
Manages the core chart area which displays and paints (in this order):
- The grid (this includes the X and Y axis).
- Data - as columns of bar chart, line chart, or other chart type
- Inheritance
-
- Object
- ChartAreaContainer
- DataContainer
- Implementers
Constructors
- DataContainer({required ChartTopContainer chartTopContainer})
Properties
- chartTopContainer → ChartTopContainer
-
The chart top level.
finalinherited
- enableSkipOnDistressedSize ↔ bool
-
If size constraints imposed by parent are too tight,
some internal calculations of sizes may lead to negative values,
making painting of this container not possible.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDistressed ↔ bool
-
getter/setter pairinherited
- layoutSize ↔ Size
-
Manages the layout size during the layout process in layout.
Should be only mentioned in this class, not super
getter/setter pairinherited
- offset ↔ Offset
-
Current absolute offset, set by parent (and it's parent etc, to root).
getter/setter pairinherited
- presentersColumns ↔ PresentersColumns
-
Columns of presenters.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipByParent ↔ bool
-
skipByParent instructs the parent container that this container should not be
painted or layed out - as if it collapsed to zero size.
getter/setter pairinherited
- tiltMatrix → Matrix2
-
Provides access to tiltMatrix for extension's paint methods.
no setterinherited
Methods
-
applyParentOffset(
Offset offset) → void - Allow a parent container to move this Container after layout.
-
applyParentTiltMatrix(
Matrix2 tiltMatrix) → void -
Tilt may apply to the whole container.
todo-2 unused? move to base class? similar to offset?
inherited
-
layout(
LayoutExpansion parentLayoutExpansion) → void -
Implements
Container.layout
for data area. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
optionalPaintOrderReverse(
List< Presenter> presenters) → List<Presenter> - Optionally paint series in reverse order (first to last, vs last to first which is default).
-
paint(
Canvas canvas) → void -
inherited
-
scalePointsColumns(
) → void - Scales all data stored in leafs of columns and rows as StackableValuePoint. Depending on whether we are layouting a stacked or unstacked chart, scaling is done on stacked or unstacked values.
-
setupPresentersColumns(
) → void -
Creates from ChartData (model for this container),
columns of leaf values encapsulated as StackableValuePoints,
and from the values, the columns of leaf presenters,
encapsulated as
Presenter
s. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited