Hi,
I am using JSP, I just want to know if I can create a line chart with different data on it. I am planning to put the script to createChart inside the loop along with the json for its data. :)
Is this possible, because I have read something on the internet that this is not supported.
I am using JSP, I just want to know if I can create a line chart with different data on it. I am planning to put the script to createChart inside the loop along with the json for its data. :)
Is this possible, because I have read something on the internet that this is not supported.
4 Answers, 1 is accepted
0
Hi Leo,
In order to display different data on Kendo UI Chart I would suggest to bind it to dataSource (like in most of the demos). Hence when this dataSource is changed the chart will automatically refresh.
Regards,Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
leo
Top achievements
Rank 1
answered on 22 Jan 2015, 06:32 AM
Thank you for your answer.
Your answer was about the chart refreshing when the datasource is changed, right?
But, is it possible to have two line charts with different datasource on the same page?
Your answer was about the chart refreshing when the datasource is changed, right?
But, is it possible to have two line charts with different datasource on the same page?
0
Accepted
Hi Leo,
First of all I would like to apologize - it appears I misunderstood your question. As for the number of Kendo UI charts on the same page - you can display as many charts as you want. Take a look at this example - although it is for bullet chart it demonstrates how to display multiple charts with different dataSources.
Regards,
Iliana Nikolova
Telerik
First of all I would like to apologize - it appears I misunderstood your question. As for the number of Kendo UI charts on the same page - you can display as many charts as you want. Take a look at this example - although it is for bullet chart it demonstrates how to display multiple charts with different dataSources.
Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
leo
Top achievements
Rank 1
answered on 27 Jan 2015, 09:54 AM
Fixed now. Thanks! :D