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

Grouped Bar Chart duplicates series on refresh...

1 Answer 91 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Bobby Ross
Top achievements
Rank 1
Bobby Ross asked on 01 May 2013, 02:54 PM
I have an issue with all of my bar charts that when I call refresh for window resizing etc, the entire series and data get duplicated.  This has been happening for a while with older versions of Kendo, but I had a fix which was to clear the series array and then add it back in prior to calling refresh, but as of the latest version this no longer works and is causing issues.

I have created a JSBin to demonstrate the issue, I have put a counter on the refresh event to prevent to many series from being created due to JSBin firing window resize events too many times, just resize the pane to see:

http://jsbin.com/izixay/7/edit

Basically calling refresh() chart bound to a grouped datasource causes duplicate series for every refresh.

Thank you,
Bobby Ross

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 02 May 2013, 11:33 AM
Hi Bobby,

 We were able to reproduce the problem and have logged it for fixing. You can use the redraw() method as a workaround: http://jsbin.com/izixay/10/edit

Kind regards,
Atanas Korchev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Bobby Ross
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or