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

Chart series change and data source proble.

2 Answers 71 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Jose Mejia
Top achievements
Rank 1
Jose Mejia asked on 16 Sep 2014, 11:32 AM
Hi.

I have following code -- http://dojo.telerik.com/uRuG.

I can't make possibility to change series and data source on the fly. I need to change series, change ds and update chart with new data.

What  I'm doing wrong?

Thanks in advance.

2 Answers, 1 is accepted

Sort by
0
Jose Mejia
Top achievements
Rank 1
answered on 17 Sep 2014, 04:18 PM
Anyone???
0
Accepted
Hristo Germanov
Telerik team
answered on 18 Sep 2014, 06:41 AM
Hi Jose Mejia,

In order to change the chart options you need to use chart.setOptions({ // new options goes here }). Updated example: http://dojo.telerik.com/uRuG/3

Regards,
Hristo Germanov
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Jose Mejia
Top achievements
Rank 1
Answers by
Jose Mejia
Top achievements
Rank 1
Hristo Germanov
Telerik team
Share this question
or