RadChart / StackedBar

2 posts, 0 answers
  1. Sajjad Shah
    Sajjad Shah avatar
    33 posts
    Member since:
    Nov 2009

    Posted 17 May 2010 Link to this post

    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.

  2. Velin
    Velin avatar
    391 posts

    Posted 20 May 2010 Link to this post

    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.

    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.
Back to Top