Binding Radhtml pie chart to database

4 posts, 0 answers
  1. Waqas
    Waqas avatar
    3 posts
    Member since:
    Sep 2012

    Posted 27 Sep 2012 Link to this post

    Hi, i just wanted to know how to bind a pie chart to dynamic data. I mean if the data is coming from the database, i've two columns i.e. Name and vale, how can i bind it to a radhtml pie chart. 
  2. Marin Bratanov
    Marin Bratanov avatar
    3908 posts

    Posted 28 Sep 2012 Link to this post


    This functionality will be available in the Q3 2012 release as promised in this blog post.

    For the time being you can loop through the data you have and create items programmatically and set their properties accordingly.

    I also advise that you post your questions in the forums and not in the code-library section. I have moved this thread there for you.

    All the best,
    Marin Bratanov
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. Waqas
    Waqas avatar
    3 posts
    Member since:
    Sep 2012

    Posted 28 Sep 2012 Link to this post

    yes i did it by looping through the data and added it to the pie series  inside the code behind file, Thanks for your help.
  4. Asutosh
    Asutosh avatar
    130 posts
    Member since:
    Sep 2013

    Posted 03 Jul 2014 in reply to Marin Bratanov Link to this post

    i have 6 radhtml chart in my page and all chart are different like 1 is pie another is stackbar another is line and bar combine anothere has 2 series line and 1 bar like this
    and i have functionality of make chart as favorite and i show that favorite chart in another page
    so i have to put this all chart there
    is there any way i can dynamically generate that all chart? 
Back to Top