ChartSegment class

Creates the segments for chart series.

Implementers

Constructors

ChartSegment()

Properties

animationFactor double
Animation factor value
read / write
color Color
Color of the segment
read / write
currentSegmentIndex int
read / write
fillPaint Paint
Fill paint of the segment
read / write
segmentRect RRect
Rectangle of the segment
read / write
series XyDataSeries
Chart series
read / write
strokeColor Color
Border color of the segment
read / write
strokePaint Paint
Stroke paint of the segment
read / write
strokeWidth double
Border width of the segment
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

calculateSegmentPoints() → void
Calculates the rendering bounds of a segment
getFillPaint() Paint
Gets the color of the series
getStrokePaint() Paint
Gets the border color of the series
onPaint(Canvas canvas) → void
Draws segment in series bounds.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited