Skip to main content

WebChartControl.SetObjectSelection(Object) Method

Selects the specified chart element at runtime.

Namespace: DevExpress.XtraCharts.Web

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

NuGet Package: DevExpress.Web.Visualization

Declaration

public void SetObjectSelection(
    object obj
)

Parameters

Name Type Description
obj Object

A Object which specifies the chart element to select.

Remarks

Use the SetObjectSelection method to implement custom selection of chart elements at runtime. To clear the selection of any chart element, the WebChartControl.ClearSelection method should be used.

To specify the chart’s selection behavior, use the ChartControl.electionMode property.

Note

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

See Also