Is it possible to have multiple StackedBars in one chart ?

6 posts, 1 answers
  1. Dennis Perlot
    Dennis Perlot avatar
    19 posts
    Member since:
    Dec 2009

    Posted 29 Jun 2012 Link to this post

    My client is requesting this type of functionality and I'm reasearching if this is possible?

    The idea is to have more than one stacked bar sharing the same XCategory.

    Any thoughts?

    Thank You!

  2. Answer
    Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 29 Jun 2012 Link to this post

    Hello Dennis,

    You can achieve the desired effect by setting StackedBarSeriesDefinition.StackGroupName property as demonstrated in this example here.

    Hope this helps.


    Kind regards,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Nuno
    Nuno avatar
    53 posts
    Member since:
    Dec 2007

    Posted 29 Jun 2012 Link to this post

    Hi Giuseppe,

    Thanks for your help. It's exactly what we were looking for. The problem is that the SL version that our app is using is 2011.1.419.1040
    I've been avoiding upgrading...! is there any workaround? In what version of the chart control did this property get introduced?

    Thanks for helping us.

  5. Nuno
    Nuno avatar
    53 posts
    Member since:
    Dec 2007

    Posted 29 Jun 2012 Link to this post


    Hi,

    Please ignore my previous post. I got confused because I was trying to access that property in a ISeriesDefinition object! This requires a cast to StackedBarSeriesDefinition in order to have access to this specific property.

    Thank you!
  6. Dennis Perlot
    Dennis Perlot avatar
    19 posts
    Member since:
    Dec 2009

    Posted 05 Jul 2012 Link to this post

    Hi Giuseppe,

    Is there any way to apply some spacing between the stackedbars that share the same XCat ?

    Thank You.

  7. Giuseppe
    Admin
    Giuseppe avatar
    2363 posts

    Posted 10 Jul 2012 Link to this post

    Hello Dennis,

    Unfortunately such appearance customization is not supported and it would not be possible to achieve the desired spacing effect.


    Regards,
    Giuseppe
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top
DevCraft banner