Skip to main content

WebChartControl.ClearSelection() Method

Deselects all chart elements at runtime.

Namespace: DevExpress.XtraCharts.Web

Assembly: DevExpress.XtraCharts.v24.1.Web.dll

NuGet Package: DevExpress.Web.Visualization

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