load different types of charts from same div.

Thread is closed for posting
5 posts, 0 answers
  1. Asutosh
    Asutosh avatar
    130 posts
    Member since:
    Sep 2013

    Posted 23 Apr 2014 Link to this post

    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.
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 24 Apr 2014 in reply to Asutosh Link to this post

    Hi Asutosh,

    I guess that you want to create RadChart Programmatically. Please have a look into this help documentation which discuss about the same scenario. 

    Please elaborate your requirement if it doesn't help.
    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Asutosh
    Asutosh avatar
    130 posts
    Member since:
    Sep 2013

    Posted 24 Apr 2014 in reply to Princy Link to this post

    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 ?
  5. Asutosh
    Asutosh avatar
    130 posts
    Member since:
    Sep 2013

    Posted 24 Apr 2014 in reply to Princy Link to this post

    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 ? 
  6. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1492 posts

    Posted 28 Apr 2014 Link to this post

    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.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017