BoxAndWhiskerSegment<T, D> class
Creates the segments for box and whisker series.
Generates the box and whisker series points and has the calculateSegmentPoints override method used to customize the box and whisker series segment point calculation.
Gets the path and fill color from the series
to render the box and whisker segment.
- Inheritance
-
- Object
- ChartSegment
- BoxAndWhiskerSegment
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.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty ↔ bool
-
Specifies the segment has empty point.
getter/setter pairinherited
- isSelected ↔ bool
-
getter/setter pairinherited
- isVisible ↔ bool
-
Specifies the segment is visible or not for circular, funnel and pyramid segments only.
Not applicable for cartesian segments.
getter/setter pairinherited
- lowerQuartile → num
-
no setter
- maximum → num
-
no setter
- mean → num
-
no setter
- median → num
-
no setter
- minimum → num
-
no setter
-
outliers
↔ List<
num> ? -
getter/setter pair
-
points
↔ List<
Offset> -
Current point offset value.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentRect ↔ Rect?
-
getter/setter pair
-
series
↔ BoxAndWhiskerSeriesRenderer<
T, D> -
getter/setter pair
- strokePaint → Paint
-
Stroke paint of the segment.
finalinherited
- upperQuartile → num
-
no setter
- x ↔ num
-
getter/setter pair
Methods
-
calculateSegmentPoints(
) → void -
Calculates the rendering bounds of a segment.
override
-
contains(
Offset position) → bool -
override
-
copyOldSegmentValues(
double seriesAnimationFactor, double segmentAnimationFactor) → void -
override
-
dispose(
) → void -
To dispose the objects.
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
-
tooltipInfo(
{Offset? position, int? pointIndex}) → TooltipInfo? -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
trackballInfo(
Offset position) → TrackballInfo? -
override
-
transformValues(
) → void -
Transforms the x and y values to screen coordinates.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited