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

Showing/hiding series on stacked and grouped bar chart fails for last series of group

5 Answers 107 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Dirk
Top achievements
Rank 1
Dirk asked on 21 Nov 2013, 09:56 PM
Hello,

I encountered an error on a stacked and grouped bar chart like the one shown in this demo: demo

If you show the according legend with all 10 series items and hide all of one group thge remaining stacked bars will get wider.
Next step is to hide top 4 bars of remaining group et voilá, the last bar becomes thin as if there was a second group.

Think this is a bug.

Ciao
Dirk



5 Answers, 1 is accepted

Sort by
0
Iliana Nikolova
Telerik team
answered on 25 Nov 2013, 12:37 PM
Hi Dirk,

This is not a known issue, therefore I forwarded it to the developers for further investigation - our team will do our best to provide a solution as soon as possible. Please excuse us for the inconvenience caused.

As a small sign of gratitude for this finding I updated your points. 

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
Dirk
Top achievements
Rank 1
answered on 23 Dec 2013, 10:14 AM
Hello Iliana,

is there any news on this topic?

Best regards
Dirk?
0
Alexander Valchev
Telerik team
answered on 25 Dec 2013, 08:40 AM
Hello Dirk,

We will need more time to investigate the case and provide a solution.
We will write you back as soon as we have more information, probably after the new year holidays.

Regards,
Alexander Valchev
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Dirk
Top achievements
Rank 1
answered on 11 Feb 2014, 02:56 PM
Hello Alexander

Is there any news on this topic?

Steps to reproduce:
- please start with the demo: http://demos.telerik.com/kendo-ui/dataviz/bar-charts/grouped-stacked-bar.html
- type the following to the JS console input:
$("#chart").data("kendoChart").options.series[0].visible = false;
$("#chart").data("kendoChart").options.series[1].visible = false;
$("#chart").data("kendoChart").options.series[2].visible = false;
$("#chart").data("kendoChart").options.series[3].visible = false;
$("#chart").data("kendoChart").options.series[4].visible = false;
$("#chart").data("kendoChart").options.series[5].visible = false;
$("#chart").data("kendoChart").options.series[6].visible = false;
$("#chart").data("kendoChart").options.series[7].visible = false;
$("#chart").data("kendoChart").redraw();
=> the remaining blue bars are wide

$("#chart").data("kendoChart").options.series[8].visible = false;
$("#chart").data("kendoChart").redraw();
=> the remaining blue bars become thin - but they shouldn't

Best regards
Dirk
0
Iliana Nikolova
Telerik team
answered on 13 Feb 2014, 09:16 AM
Hello Dirk,

I am afraid the issue is still not addressed, however the good news is that a fix for it will be available in our next official release (Q1 2014 Beta version is expected at the end of February).

Regards,
Iliana Nikolova
Telerik

Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).

Tags
Charts
Asked by
Dirk
Top achievements
Rank 1
Answers by
Iliana Nikolova
Telerik team
Dirk
Top achievements
Rank 1
Alexander Valchev
Telerik team
Share this question
or