This is a migrated thread and some comments may be shown as answers.

Stacked Bar Total

1 Answer 71 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Daniel Schuessler
Top achievements
Rank 1
Daniel Schuessler asked on 08 Dec 2010, 01:52 AM
Is there a way to have the total displayed at the top of the stack in a StackedBar chart?

1 Answer, 1 is accepted

Sort by
0
Accepted
Yavor
Telerik team
answered on 10 Dec 2010, 03:42 PM
Hi Daniel Schuessler,

RadChart provides the Format Expressions functionality that allows you to insert context specific information in series item labels and tool tips. You can show the item label only for the topmost series and hide all the others. The ItemLabelFormat for the topmost series can look like this:

ItemLabelFormat="Total: #STSUM{C4}"

You can see custom format expressions in action in this demo.
Hope this helps!

All the best,
Yavor Ivanov
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
Chart
Asked by
Daniel Schuessler
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Share this question
or