Skip to main content
A newer version of this page is available. .

WebChartControl.ClearSelection() Method

Deselects all chart elements at runtime.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v18.2.Web.dll

Declaration

public void ClearSelection()

Remarks

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

To enable selection of chart elements by end-users at runtime, set the WebChartControl.SelectionMode property to a value other than None.

Note

Note that the ClearSelection method is a server-side method.

See Also