Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to perform an action when series points are selected

$
0
0
This example shows how to obtain currently selected series points and show them in another chart. For this, the ChartControl.SelectedItemsChanged event should be used.

In this example, you can choose the selection behavior (Single, Multiple or Extended) via the Selection Mode combo box. When any country is selected in the pie chart, you can see the population dynamics for each country in the bar chart.  To cancel pie segment selection, choose None in the Selection Mode combo box.

In addition, this example demonstrates how to colorize each bar series point in the pie specific color using the ChartControl.CustomDrawSeriesPoint  event.

Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>