Example of Grouping in ASP.NET MVC Chart Control

This sample shows the gold medal count scored by each country at the Rio Olympic Games, along with the pie series grouping functionality.

DEMO
SOURCE
GroupModes:
Group To

9

In this example, you can see how to group points based on count and values. The slice can be grouped based on the number of points by specifying the GroupModeopens in a new tab to Point. For example, if the GroupToopens in a new tab property is set to 10, the chart will display the first 10 points and the remaining entries from the collection will be grouped as a single point. The slice can also be grouped based on values by specifying the GroupMode to Value. For example, if the GroupTo is set to 10, the first 10 points with a lower value will be grouped together and shown as a single point while the others as a slice.

Tooltip is enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices.

More information on the grouping can be found in this documentation sectionopens in a new tab.

Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab