This question is locked. New answers and comments are not allowed.
Raj Maverick
Top achievements
Rank 1
Raj Maverick
asked on 25 Jan 2010, 11:46 AM
Hi Telerik,
I am gonna use RadChart for the first time in a Windows application using VB.Net.
I need to display the pie chart for the total amount with 7 divisions namely - Visa, Master, Amex, Cheque, Cash, Discover, Paypal.
This is my stored procedure output -
Amount TenderType NoOfPeople
I am gonna use RadChart for the first time in a Windows application using VB.Net.
I need to display the pie chart for the total amount with 7 divisions namely - Visa, Master, Amex, Cheque, Cash, Discover, Paypal.
This is my stored procedure output -
Amount TenderType NoOfPeople
300.00 Amex 2
600.00 Cash 4
450.00 Cheque 3
450.00 Discover 3
300.00 Master 2
300.00 Paypal 2
300.00 Visa 2
The pie chart has to display Amount of the respective tendertype.
Plz help me with how to code and display in Windows application using VB.Net.
Thank you in advance.
Regards,
Raj
5 Answers, 1 is accepted
0
Hi Raj,
I have attached a small example of RadChart with the data you have provided. You can also check our online help, point to the Chart chapter and explore the topics in it. You can also check our examples.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
I have attached a small example of RadChart with the data you have provided. You can also check our online help, point to the Chart chapter and explore the topics in it. You can also check our examples.
Best regards,
Ves
the Telerik team
Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Raj Maverick
Top achievements
Rank 1
answered on 03 Feb 2010, 12:23 PM
Hi Ves,
That sample code worked and helped a lot to understand it. One small clarification -
Is it possible to show the pie chart section values as the pie chart label and the Types in legend?
For Eg. Please see the attached image file in which I have used picture box as legends.
That sample code worked and helped a lot to understand it. One small clarification -
Is it possible to show the pie chart section values as the pie chart label and the Types in legend?
For Eg. Please see the attached image file in which I have used picture box as legends.
0
Raj Maverick
Top achievements
Rank 1
answered on 16 Feb 2010, 04:44 AM
Hi Telerik,
Can someone help me on this?????
Regards,
Raj
Can someone help me on this?????
Regards,
Raj
0
Accepted
Hi Raj,
I am sorry for the delay. Please, find attached an updated version. By default RadChart will show the value as pie slice label, so I have removed the DataLabelsColumn setting. I have wired the ItemDataBound event and updated the Name property for every item.
Best regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Raj Maverick
Top achievements
Rank 1
answered on 23 Feb 2010, 08:59 AM
Hi Ves,
Thanks a lot for your reply and it has worked for me. I was breaking my head on this for more than 2 weeks. But still I am unable to understand the code flow in that. Anyway, ur code has worked and the task is done.
Thanls again for ur support.
Have a happy day...!
Regards,
Raj
Thanks a lot for your reply and it has worked for me. I was breaking my head on this for more than 2 weeks. But still I am unable to understand the code flow in that. Anyway, ur code has worked and the task is done.
Thanls again for ur support.
Have a happy day...!
Regards,
Raj