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

RadChart / StackedBar

1 Answer 85 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Sajjad Shah
Top achievements
Rank 1
Sajjad Shah asked on 17 May 2010, 05:26 PM
Hi,
I am trying to achieve something similar to this

The difference is that I want each stack to have similar value as to the one next to it. So, for the example above I want all of my stack values like 'Stack Bar 1', 'Stack Bar 2'...'Stack Bar5' appear in one bar stacked on top of each other and the next to it (second group) should have the similar values as well - same color too.

Is it possible to do??
Scenario: I have months along x axis. Each month has two halves (two bars). Each bar is then broken down to certain repetitive actives like biking, swimming, jogging. They spread over certain duration of each bar. 
I hope this example has made it clear enough what am i trying to achieve here.

If it's possible how will binding work as the example above assumes of different stacks.

Thanks,
Sadaf  

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 20 May 2010, 03:02 PM
Hello Sajjad Shah,

Unfortunately, this functionality is not supported by the control straight out-of-the-box. Please, review this article that describes the available ways to custom style the bar items. I would suggest you to use the CreateItemStyleDelegate and implement your custom logic that changes the fill property of the bar style depending on the stack group and the index of the bar within the series.

Regards,
Velin
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Chart
Asked by
Sajjad Shah
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or