ChartSelectionBehavior class abstract

Customizes the selection in chart.

ChartSelectionBehavior is used to customize the behavior of the chart series segments on selection. It is based on the current point coordinate and touch position. It has the methods to customize the selection behavior.

Implementers

Constructors

ChartSelectionBehavior()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getCircularSelectedItemBorder(Color color, int seriesIndex, int pointIndex, List<Region> selectedRegions) Color
It gets the circular border property of the seleted item in the series
getCircularSelectedItemFill(Color color, int seriesIndex, int pointIndex, List<Region> selectedRegions) Color
It gets the fill property of the selected item in the series
getCircularUnSelectedItemBorder(Color color, int seriesIndex, int pointIndex, List<Region> unselectedRegions) Color
It gets the circular border property of the unselected item in the series
getCircularUnSelectedItemFill(Color color, int seriesIndex, int pointIndex, List<Region> unselectedRegions) Color
It gets the circular fill property of the unselected item in the series
getSelectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
It gets the border property of the selected item in the series
getSelectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
It gets the fill property of the selected item in the series
getUnselectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
It gets the border property of the selected item in the series
getUnselectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
It gets the fill property of the unselected item in the series
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDoubleTap(double xPos, double yPos) → void
Hits while double tapping on the chart..
onLongPress(double xPos, double yPos) → void
Hits while a long tap on the chart.
onTouchDown(double xPos, double yPos) → void
Hits while tapping on the chart.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited