StackedBarSegment class
Creates the segments for stacked bar series.
Generates the stacked bar series points and has the calculateSegmentPoints method overrided to customize the stacked bar segment point calculation.
Gets the path and color from the series
.
- Inheritance
-
- Object
- ChartSegment
- StackedBarSegment
Constructors
Properties
- animationFactor ↔ double
-
Animation factor value
getter/setter pairinherited
- currentSegmentIndex ↔ int?
-
Current index value.
getter/setter pairinherited
- fillPaint ↔ Paint?
-
Fill paint of the segment
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
points
↔ List<
Offset> -
Current point offset value
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentRect ↔ RRect
-
Rectangle of the segment this could be used to render the segment while overriding this segment
getter/setter pair
- stackValues ↔ double
-
Stacked values
getter/setter pair
- strokePaint ↔ Paint?
-
Stroke paint of the segment
getter/setter pairinherited
Methods
-
calculateSegmentPoints(
) → void -
Calculates the rendering bounds of a segment.
override
-
getFillPaint(
) → Paint -
Gets the color of the series.
override
-
getStrokePaint(
) → Paint -
Gets the border color of the series.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onPaint(
Canvas canvas) → void -
Draws segment in series bounds.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited