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

Is it possible to have multiple StackedBars in one chart ?

5 Answers 70 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Dennis Perlot
Top achievements
Rank 1
Dennis Perlot asked on 29 Jun 2012, 04:00 PM
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!

5 Answers, 1 is accepted

Sort by
0
Accepted
Giuseppe
Telerik team
answered on 29 Jun 2012, 04:31 PM
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 >>

0
Nuno
Top achievements
Rank 1
answered on 29 Jun 2012, 08:10 PM
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.

0
Nuno
Top achievements
Rank 1
answered on 29 Jun 2012, 08:30 PM

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!
0
Dennis Perlot
Top achievements
Rank 1
answered on 05 Jul 2012, 05:27 PM
Hi Giuseppe,

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

Thank You.

0
Giuseppe
Telerik team
answered on 10 Jul 2012, 10:51 AM
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 >>

Tags
Chart
Asked by
Dennis Perlot
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Nuno
Top achievements
Rank 1
Dennis Perlot
Top achievements
Rank 1
Share this question
or