StackedBar100Segment class Null safety
Creates the segments for 100% stacked bar series.
Generates the stacked bar100 series points and has the calculateSegmentPoints method overrided to customize the stacked bar100 segment point calculation.
Gets the path and color from the series
.
- Inheritance
- Object
- ChartSegment
- StackedBar100Segment
Constructors
Properties
- animationFactor ↔ double
-
Animation factor value
read / write, inherited
- currentSegmentIndex ↔ int?
-
Current index value.
read / write, inherited
- fillPaint ↔ Paint?
-
Fill paint of the segment
read / write, inherited
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
points
↔ List<
Offset> -
Current point offset value
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- segmentRect ↔ RRect
-
Rectangle of the segment
read / write
- stackValues ↔ double
-
staked value of the segment
read / write
- strokePaint ↔ Paint?
-
Stroke paint of the segment
read / write, inherited
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 non-existent 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