WebChartControl.SelectedItemsChanged Event
Occurs after the selection of a chart item has been changed.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v19.1.Web.dll
Declaration
Event Data
The SelectedItemsChanged event's data class is SelectedItemsChangedEventArgs. The following properties provide information specific to this event:
Property | Description |
---|---|
Action | Gets an action which describes how the collection has been changed. |
NewItems | Provides access to a collection of new selected chart elements (series and series points) and business data objects if a Chart Control or a series is bound to a data source. |
OldItems | Provides access to previously selected chart elements (series and series points) and business data objects if a Chart Control or a series is bound to a data source. |
Remarks
Use the SelectedItemsChanged event to customize the webchart control behavior when the chart items including business data objects (if the webchart control is connected to data source) are selected.
For instance, you can display only bar series which correspond to the selected pie segments, as shown below.
See Also