Multiple stacked bar series

4 posts, 0 answers
  1. Robbie
    Robbie avatar
    1 posts
    Member since:
    Apr 2013

    Posted 27 Mar 2014 Link to this post

    Is it possible to create a chart like the attached image? 

    The chart i am trying to create currently has a stacked bar for enquiries and orders for each month of  a year, i want to add another year to this chart to compare so would need another stacked bar for each month in the new year.

  2. Dimitar
    Dimitar avatar
    2907 posts

    Posted 01 Apr 2014 Link to this post

    Hi Robbie,

    Thank you for writing.

    To achieve the desired layout first you should set the series CombineMode property to Stack. Then you can use the StackGroupKey property to control how the series are stacked. For example when you have four series you can combine them like this:
    barSeries.CombineMode = ChartSeriesCombineMode.Stack;
    barSeries2.CombineMode = ChartSeriesCombineMode.Stack;
    barSeries3.CombineMode = ChartSeriesCombineMode.Stack;
    barSeries4.CombineMode = ChartSeriesCombineMode.Stack;
    barSeries.StackGroupKey = 0;
    barSeries2.StackGroupKey = 0;
    barSeries3.StackGroupKey = 1;
    barSeries4.StackGroupKey = 1;

    I hope this information helps. Should you have any other questions, I will be glad to assist you.


    Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

  3. Mansi
    Mansi avatar
    8 posts
    Member since:
    Aug 2018

    Posted 11 Sep 2018 Link to this post


    I am creating a stacked bar chart in server side using RadChartView. Bar charts are not stacked properly as values have null in between.

    I am attaching an example of issue of stacked bar charts. Investment series x values  {40,45,50} Income series value { 25,35,40}. Order of  values in x axis is not right. Could you please help me.



  4. Dimitar
    Dimitar avatar
    2907 posts

    Posted 12 Sep 2018 Link to this post

    Hello Mansi,

    The categories in the X-axis are not treated like numbers, they are treated like strings. The categories appear as they are inserted in the series. In your case, you need to sort the data before adding it to the chart. 

    I hope this will be useful. Let me know if you have additional questions.

    Progress Telerik
    Get quickly onboard and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Back to Top