Grouped Bar Chart duplicates series on refresh...

2 posts, 0 answers
  1. Bobby Ross
    Bobby Ross avatar
    18 posts
    Member since:
    Nov 2004

    Posted 01 May 2013 Link to this post

    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:

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

    Thank you,
    Bobby Ross
  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 02 May 2013 Link to this post

    Hi Bobby,

     We were able to reproduce the problem and have logged it for fixing. You can use the redraw() method as a workaround:

    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!
Back to Top