ChartControl.ClearSelection() Method

Deselects all chart elements at runtime.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.UI.dll


public void ClearSelection()


Use the ClearSelection method to implement custom selection of chart elements at runtime. This method deselects an element if it’s selected or hot-tracked. To select any chart element, the ChartControl.SetObjectSelection method should be used.


To enable standard selection of chart elements by end-users at runtime, set the ChartControl.RuntimeSelection property to true.

See Also