Change the chartseries order sequence in Stacked bar

Thread is closed for posting
2 posts, 1 answers
  1. Arima
    Arima avatar
    25 posts
    Member since:
    Mar 2011

    Posted 02 May 2011 Link to this post

    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
  2. Answer
    Evgenia
    Admin
    Evgenia avatar
    1437 posts

    Posted 04 May 2011 Link to this post

    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.

Back to Top