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

2 posts, 0 answers
  1. Clyde
    Clyde avatar
    7 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.read(); dataSource.refresh(); but this does not work with series.  
  2. Dimiter Topalov
    Admin
    Dimiter Topalov avatar
    349 posts

    Posted 26 May Link to this post

    Hi Clyde,

    You can manipulate the series.data 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:

    http://dojo.telerik.com/ojIxO/3

    I hope this helps.

    Regards,
    Dimiter Topalov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
Back to Top