ChartSelectionBehavior class

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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 seleted item in the series [...]
getCircularUnSelectedItemBorder(Color color, int seriesIndex, int pointIndex, List<_Region> unselectedRegions) Color
It gets the circular border property of the unseleted item in the series [...]
getCircularUnSelectedItemFill(Color color, int seriesIndex, int pointIndex, List<_Region> unselectedRegions) Color
It gets the circular fill property of the unseleted item in the series [...]
getSelectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
It gets the border property of the seleted item in the series [...]
getSelectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
It gets the fill property of the seleted item in the series [...]
getUnselectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
It gets the border property of the seleted item in the series [...]
getUnselectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
It gets the fill property of the unseleted item in the series [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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
Returns a string representation of this object.
inherited

Operators

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