Skip to main content

ChartSelectionMode Enum

Definition​

Assembly:Avalonia.Controls.Charts
Package:Avalonia.Controls.Charts

Specifies the selection behavior for chart data points.

public enum ChartSelectionMode

Inheritance: Enum -> ChartSelectionMode

Fields​

NameDescription
MultipleMultiple items can be selected and deselected.
NoneSelection is disabled.
SingleOnly one item can be selected at a time. Clicking another item selects it.
SingleDeselectOnly one item can be selected at a time. Clicking the same item deselects it.

Multiple Field​

Multiple items can be selected and deselected.

public Avalonia.Controls.Charts.ChartSelectionMode Multiple

None Field​

Selection is disabled.

public Avalonia.Controls.Charts.ChartSelectionMode None

Single Field​

Only one item can be selected at a time. Clicking another item selects it.

public Avalonia.Controls.Charts.ChartSelectionMode Single

SingleDeselect Field​

Only one item can be selected at a time. Clicking the same item deselects it.

public Avalonia.Controls.Charts.ChartSelectionMode SingleDeselect