Skip to main content

WebChartControl.SetObjectSelection(Object) Method

Selects the specified chart element at runtime.

Namespace: DevExpress.XtraCharts.Web

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

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