This question is locked. New answers and comments are not allowed.
I have a chart which has three data series ("Blue", "Orange", and "Green") with dual axes. I want the "Blue" and "Orange" bars on the left axis stacked, and the "Green" bar on the right axis not stacked. I set stack to "false" for the "Green" data series, but it still stack to the left bars. I set up the JSBIN example here: http://jsbin.com/ugOyihi/1/edit
if I switch the "Green" series(stack set to false) to the left axis, and the "Blue" + "Orange"(stack set to true) to the right axis, I expect to see the green bar stands by itself, and the blue+orange bar stacked, but in the jsbin example, all the bars are separate: http://jsbin.com/afOBaxiB/1/edit
It looks like it only takes the first "stack" value???
Your help is highly appreciated!
Yanli
if I switch the "Green" series(stack set to false) to the left axis, and the "Blue" + "Orange"(stack set to true) to the right axis, I expect to see the green bar stands by itself, and the blue+orange bar stacked, but in the jsbin example, all the bars are separate: http://jsbin.com/afOBaxiB/1/edit
It looks like it only takes the first "stack" value???
Your help is highly appreciated!
Yanli
5 Answers, 1 is accepted
0
Yanli
Top achievements
Rank 1
answered on 18 Nov 2013, 10:17 PM
sorry the title should be "multiple axes: how to make bars stacked for one axis but not for the other?"
0
Hello Yanli,
In order to achieve the expected result you should point different stack names to the separate series. For your convenience here is the updated jsBin example.
Regards,
Iliana Nikolova
Telerik
In order to achieve the expected result you should point different stack names to the separate series. For your convenience here is the updated jsBin example.
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Yanli
Top achievements
Rank 1
answered on 19 Nov 2013, 10:59 PM
thank you, that solves the left bars stacked, right bar separate issue.
But the right bar doesn't really take the right axis. I update the right data series to make all data points 100+ to differ from the left data series, the right bar displays incorrectly. please see the updated sample here: http://jsbin.com/ugOyihi/5/edit
But the right bar doesn't really take the right axis. I update the right data series to make all data points 100+ to differ from the left data series, the right bar displays incorrectly. please see the updated sample here: http://jsbin.com/ugOyihi/5/edit
0
Yanli
Top achievements
Rank 1
answered on 21 Nov 2013, 07:47 PM
any updates on the axis issue?
Thanks!
Thanks!
0
Hi Yanli,
Apologies for not getting back to you earlier.
I discussed the case with my colleagues and it appears this is the default behaviour of stacked chart at this point and it cannot be changed. We will appreciate it if you submit this suggestion as a feature request at Kendo UI UserVoice page - this way the community would be able to evaluate it and if the suggestion gains popularity we will consider its implementation for future releases.
Regards,
Iliana Nikolova
Telerik
Apologies for not getting back to you earlier.
I discussed the case with my colleagues and it appears this is the default behaviour of stacked chart at this point and it cannot be changed. We will appreciate it if you submit this suggestion as a feature request at Kendo UI UserVoice page - this way the community would be able to evaluate it and if the suggestion gains popularity we will consider its implementation for future releases.
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!