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

Help with StackedBarChart

2 Answers 41 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Stan
Top achievements
Rank 1
Stan asked on 03 Mar 2011, 01:48 AM
Hi there
Can someone point me to some directions on how to create a stacked bar chart like this? (See attachment)
I want to build the chart declaratively in XAML and bind it a collection. Most of the examples on the forums and in the help files seem to point towards doing this from the code behind or hard coding the data.

Thanks in advance for your help.

2 Answers, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 07 Mar 2011, 02:28 PM
Hi Stan,

The project attached demonstrates how to create StackedBarSeries and bind it declaratively to List of Business Objects using SeriesMapping for each new Bar serie.
The sample project populates the List with random values. Feel free to modify it so that it applies your scenario.

Best wishes,
Evgenia
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Stan
Top achievements
Rank 1
answered on 08 Mar 2011, 01:06 AM
Thanks, Evgenia. Exactly what I needed.
Tags
Chart
Asked by
Stan
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Stan
Top achievements
Rank 1
Share this question
or