Occurs after chart items are selected.
public event SelectedItemsChangedEventHandler SelectedItemsChanged
Public Event SelectedItemsChanged As SelectedItemsChangedEventHandler
The SelectedItemsChanged event's data class is SelectedItemsChangedEventArgs. The following properties provide information specific to this event:
|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.|
Use the SelectedItemsChanged event to customize the WebChartControl when the chart items including business data objects (if the control is connected to a data source) are selected.
For instance, you can display only bar series which correspond to the selected pie segments:
<dx:WebChartControl ID="WebChartControlPie" EnableCallBacks="False" runat="server" Height="250px" Width="700px" CrosshairEnabled="False" RenderFormat="Svg" ClientInstanceName="chartTotal" OnObjectSelected="WebChartControlPie_ObjectSelected" DataSourceID="chartDataSource1" SelectionMode="Multiple" SeriesSelectionMode="Point" OnSelectedItemsChanged="WebChartControlPie_SelectedItemsChanged"> </dx:WebChartControl>