Back to Devexpress

ChartControl.SeriesSelectionMode Property

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-b17859f6.md

latest4.5 KB
Original Source

ChartControl.SeriesSelectionMode Property

Gets or sets a value specifying how the series is selected in the chart control.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
public SeriesSelectionMode SeriesSelectionMode { get; set; }
vb
Public Property SeriesSelectionMode As SeriesSelectionMode

Property Value

TypeDescription
SeriesSelectionMode

A SeriesSelectionMode enumeration member specifying the selection behavior of a series.

|

Available values:

NameDescription
Series

Only the entire series can be hot-tracked and selected at one time.

| | Point |

A single series point can be hot-tracked and selected at one time.

| | Argument |

Points of multiple series which correspond to the selected point argument are selected and hot-tracked.

|

The following code snippets (auto-collected from DevExpress Examples) contain references to the SeriesSelectionMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-dashboard-custom-items/CS/TutorialsCustomItems/CustomItems/FunnelItemControlProvider.cs#L22

csharp
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
chart.SeriesSelectionMode = SeriesSelectionMode.Point;
chart.ObjectHotTracked += Chart_ObjectHotTracked;

winforms-dashboard-custom-items-extension/CS/CustomItemExtension/CustomItems/Funnel/FunnelItemControlProvider.cs#L22

csharp
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False;
chart.SeriesSelectionMode = SeriesSelectionMode.Point;
chart.ObjectHotTracked += Chart_ObjectHotTracked;

winforms-dashboard-custom-items/VB/TutorialsCustomItems/CustomItems/FunnelItemControlProvider.vb#L28

vb
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False
chart.SeriesSelectionMode = SeriesSelectionMode.Point
AddHandler chart.ObjectHotTracked, AddressOf Chart_ObjectHotTracked

winforms-dashboard-custom-items-extension/VB/CustomItemExtension/CustomItems/Funnel/FunnelItemControlProvider.vb#L28

vb
chart.BorderOptions.Visibility = DevExpress.Utils.DefaultBoolean.False
chart.SeriesSelectionMode = SeriesSelectionMode.Point
AddHandler chart.ObjectHotTracked, AddressOf Chart_ObjectHotTracked

See Also

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace