How do I update a chart that has the data in series and not datasource?

2 posts, 0 answers
  1. Clyde
    Clyde avatar
    6 posts
    Member since:
    Dec 2015

    Posted 24 May Link to this post

    I have a chart with multiple series and data set in the series.  How do I refresh the chart so that new data appears?  With the datasource the fix is; dataSource.refresh(); but this does not work with series.  
  2. Dimiter Topalov
    Dimiter Topalov avatar
    311 posts

    Posted 26 May Link to this post

    Hi Clyde,

    You can manipulate the arrays (and the categoryAxis.categories array if necessary), and then call the refresh() method of the Kendo UI Chart to visualize the new options. You can check out a sample implementation in the following dojo:

    I hope this helps.

    Dimiter Topalov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top