BarSegment class
Creates the segments for bar series.
- Inheritance
- Object
- ChartSegment
- BarSegment
Constructors
Properties
- x1 ↔ num
-
read / write
- x2 ↔ num
-
read / write
- y1 ↔ num
-
read / write
- y2 ↔ num
-
read / write
- animationFactor ↔ double
-
Animation factor value
read / write, inherited
- color ↔ Color
-
Color of the segment
read / write, inherited
- currentSegmentIndex ↔ int
-
read / write, inherited
- fillPaint ↔ Paint
-
Fill paint of the segment
read / write, inherited
- 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
- segmentRect ↔ RRect
-
Rectangle of the segment
read / write, inherited
- series ↔ XyDataSeries
-
Chart series
read / write, inherited
- strokeColor ↔ Color
-
Border color of the segment
read / write, inherited
- strokePaint ↔ Paint
-
Stroke paint of the segment
read / write, inherited
- strokeWidth ↔ double
-
Border width 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
-
onPaint(
Canvas canvas) → void -
Draws segment in series bounds.
override
-
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