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

load different types of charts from same div.

3 Answers 12 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Asutosh
Top achievements
Rank 1
Asutosh asked on 23 Apr 2014, 01:19 PM
Hello Team

we have a requirement where we have 6 charts for each menu they are of different types bar, stacked bar, line , pie and area

now we have functionality on one page where we can load any 6 charts from different menus.

so we have 6 divs with click to load graph written on it which loads popup and user selects charts to be loaded in that portion.

so do i need to put all chart controlls in each portion ? or is there any way where chart is generated runtime.

let me know if i am not clear enough.

3 Answers, 1 is accepted

Sort by
0
Asutosh
Top achievements
Rank 1
answered on 24 Apr 2014, 12:10 PM
Thank you princy for your quick reply. it has solved my one issue of how to change chart time at runtime and drill from and to differenet chart types. but what i am in need of now is i dont know which chart user will load at particular portion of my page. so do i need to place chart controlls for all chart types in all 6 portions of my page ?
0
Asutosh
Top achievements
Rank 1
answered on 24 Apr 2014, 12:11 PM
Thank you princy for your quick reply. but what i need for now is my user will load any type of chart in any of the six portions on my page. so do i need to add all chart type controlls in each of 6 portions ? 
0
Danail Vasilev
Telerik team
answered on 28 Apr 2014, 06:26 AM
Hello Asutosh,

If you build the RadChart control programmatically you can split its creation in separate methods, so that they can be reused by most of the chart types. For example you can have one method that creates the axes and another one that creates the series. Note, however, that is a developer's decision that depends entirely on the exact case, requirements, limitations and preferences.

Regards,
Danail Vasilev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Chart (Obsolete)
Asked by
Asutosh
Top achievements
Rank 1
Answers by
Asutosh
Top achievements
Rank 1
Danail Vasilev
Telerik team
Share this question
or