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

Stacking only certain series on a chart

3 Answers 77 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Clyde
Top achievements
Rank 1
Clyde asked on 19 May 2016, 07:14 PM

I have a chart with 3 series.  I want series 1 to not be stacked but series 2 and 3 to be stacked.  How can I accomplish this?  I noticed that there is a stack attribute for the series

http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.stack

However, the lower print says that Stack settings of the first series are applied to the rest of the series.  How can I accomplish what I need?

Regards

3 Answers, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 23 May 2016, 01:08 PM
Hello,

The wording in the documentation is a bit misleading, I'll update it to say "Stack settings of the first series are inherited as a default value by the rest of the series, in case they are not overridden."

As for your specific case you can use stack.group to place the different series in groups.

I hope this helps.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
0
Clyde
Top achievements
Rank 1
answered on 23 May 2016, 02:30 PM
The reply shows a group of bars.  I need area charts.  So the layout is as such.  series2 and series3, which are stacked, will sit in front of series1.  The group option doesn't seem to get me what I need.  
0
T. Tsonev
Telerik team
answered on 25 May 2016, 12:03 PM
Hello,

I can confirm, grouping only works for bar and column charts, as noted in the documentation.
The area charts can either be all stacked or not.

Please, cast your vote for this feature on our UserVoice portal so we can prioritize accordingly.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Clyde
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Clyde
Top achievements
Rank 1
Share this question
or