SelectionSettings class

Customizes the selection options.

Inheritance

Constructors

SelectionSettings({bool enable, Color selectedColor, Color selectedBorderColor, double selectedBorderWidth, Color unselectedColor, Color unselectedBorderColor, double unselectedBorderWidth, double selectedOpacity, double unselectedOpacity })

Properties

enable bool
Enables or disables the selection. By enabling this, each data point or series in the chart can be selected. [...]
final
selectedBorderColor Color
Border color of the selected data points or series. [...]
final
selectedBorderWidth double
Border width of the selected data points or series. [...]
final
selectedColor Color
Color of the selected data points or series. [...]
final
selectedOpacity double
Opacity of the selected series or data point. [...]
final
unselectedBorderColor Color
Border color of the unselected data points or series. [...]
final
unselectedBorderWidth double
Border width of the unselected data points or series. [...]
final
unselectedColor Color
Color of the unselected data points or series. [...]
final
unselectedOpacity double
Opacity of the unselected series or data point. [...]
final
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
Gets the selected item border color of a circular series.
override
getCircularSelectedItemFill(Color color, int seriesIndex, int pointIndex, List<_Region> selectedRegions) Color
Gets the selected item color of a circular series.
override
getCircularUnSelectedItemBorder(Color color, int seriesIndex, int pointIndex, List<_Region> unselectedRegions) Color
Gets the unselected item border color of a circular series.
override
getCircularUnSelectedItemFill(Color color, int seriesIndex, int pointIndex, List<_Region> unselectedRegions) Color
Gets the unselected item color of a circular series.
override
getSelectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
Gets the selected item border color of a Cartesian series.
override
getSelectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> selectedSegments) Paint
Gets the selected item color of a Cartesian series.
override
getUnselectedItemBorder(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
Gets the unselected item border color of a Cartesian series.
override
getUnselectedItemFill(Paint paint, int seriesIndex, int pointIndex, List<ChartSegment> unselectedSegments) Paint
Gets the unselected item color of a Cartesian series.
override
onCircularDoubleTap(int pointIndex, int seriesIndex) → void
Performs the double-tap action of circular series.
override
onCircularLongPress(int pointIndex, int seriesIndex) → void
Performs the long press action of circular series.
override
onCircularTouchDown(int pointIndex, int seriesIndex) → void
Performs the touch-down action of circular series.
override
onDoubleTap(double xPos, double yPos) → void
Performs the double-tap action on the chart.
override
onLongPress(double xPos, double yPos) → void
Performs the long press action on the chart.
override
onTouchDown(double xPos, double yPos) → void
Performs the touch-down action on the chart.
override
selectionIndex(int pointIndex, int seriesIndex, [ SelectionType selectionType, bool multiSelect ]) → void
Specifies the index of the data point that needs to be selected initially while rendering a chart.
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