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

Binding Radhtml pie chart to database

3 Answers 101 Views
Chart (HTML5)
This is a migrated thread and some comments may be shown as answers.
Waqas
Top achievements
Rank 1
Waqas asked on 27 Sep 2012, 07:12 AM
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. 

3 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 28 Sep 2012, 01:22 PM
Hi,

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.
0
Waqas
Top achievements
Rank 1
answered on 29 Sep 2012, 04:54 AM
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.
 
0
Asutosh
Top achievements
Rank 1
answered on 04 Jul 2014, 04:08 AM
hi
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? 
Tags
Chart (HTML5)
Asked by
Waqas
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Waqas
Top achievements
Rank 1
Asutosh
Top achievements
Rank 1
Share this question
or