AUTHOR: Danail Vasilev
DATE MODIFIED : January 21, 2018
DATE POSTED: June 05, 2014
Display Grand Total In Stacked Series Labels And Pie Series Legend DESCRIPTION:
The RadHtmlChart controls doesn't support grand total label for stacked series and pie series legend out of the box. SOLUTION:
This KB article illustrates how to display grand total in the labels of stacked Column series (Figure 1) and in the legend of Pie series (Figure 2).
How to Display Grand Total in the Labels of Stacked Column Series
In order to display grand total in the labels of stacked Column series you can do the following steps:
You can see how looks a data bound stacked Column series that has a grand total label displayed for each category in Figure 1. You can also use this approach for other category series that can be stacked (e.g., Bar series).
Figure 1: Displaying grand total labels for a data bound stacked series.
How to Display Grand Total in the Legend of Pie Series
In order to display grand total in the legend of Pie series you can use the following steps:
You can find an image of a declaratively created Pie series that has a grand total label in their legend in Figure 2. You can also use this approach for a data bound Pie series as well as other one-dimensional series like Donut and Funnel.
Figure 2: Displaying grand total in the legend of Pie series.