Selection

Top Sales Worldwide
United States
Canada
United Kingdom
Germany
China
Republic of Korea
Australia


This demo shows how to use the DevExpress Chart and PieChart for Blazor to create a sales dashboard. You can select sectors that correspond to countries in the donut at the top, and then view detailed information on sales over the year in the chart at the bottom.

To enable the ability to select multiple sectors in a pie, set the DxPieChart.PointSelectionMode property to Multiple.

Handle the DxPieChart.SelectionChanged event to track changes in selected items. Once you select a pie sector, it is added to a collection of selected items. This example uses this collection to filter series in the bottom chart to select only series that correspond to sectors selected in the pie.