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

Change the chartseries order sequence in Stacked bar

1 Answer 184 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Arima
Top achievements
Rank 1
Arima asked on 02 May 2011, 07:18 AM
Hi

I am developing a stacked bar chart.  My datasource structure is

Month    value    GroupColumn
March    3            A            
March    1            B
March    2            C
April       4            A            
April       5            B
April       7            C

In my stacked bar chart, by default  A is displaying in the bottom of the chart and then B and C. I want to re-order the position, it should appear order C, then B and A.

Regards
Arima

1 Answer, 1 is accepted

Sort by
0
Accepted
Evgenia
Telerik team
answered on 04 May 2011, 03:52 PM
Hi Arima,

The way StackedBar series are plotted is the same as the way the Series of other Chart types are plotted. The first serie added to the Chart will be shown first and the last one - on the top of all others, exactly as the way a Stack structure operates.
To be able to change the order of the Series just follow the rule and add the C first and A last.

Kind regards,
Evgenia
the Telerik team

Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Tags
Chart (Obsolete)
Asked by
Arima
Top achievements
Rank 1
Answers by
Evgenia
Telerik team
Share this question
or