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

Dynamically repeat a chart control

1 Answer 92 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Raj Yennam
Top achievements
Rank 1
Raj Yennam asked on 18 Dec 2013, 05:59 AM
Hi Kendo Team,
We have a requirement where we need to dynamically create charts based on data on the same page currently we developing in Asp.net MVC. We have attached a sample requirement image of widgets where each widget contains a chart and some options for the user to change the chart settings like  chart type and date range etc.


Thanks
Vinay

1 Answer, 1 is accepted

Sort by
0
Petur Subev
Telerik team
answered on 19 Dec 2013, 12:26 PM
Hello Raj,

How to get started with the Chart widget is covered in the Getting Started section here. And using the MVC wrappers is covered here. I would also suggest you examine the demos for more specific scenarios.

However please keep in mind that you need to know the structure of the data when initializing the chart - even if your data is dynamic you should extract its structure and define value field / category fields when the chart is initialized.

http://docs.kendoui.com/api/dataviz/chart#configuration-series.field
http://docs.kendoui.com/api/dataviz/chart#configuration-series.categoryField


Kind Regards,
Petur Subev
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
Raj Yennam
Top achievements
Rank 1
Answers by
Petur Subev
Telerik team
Share this question
or