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

Can anyone help me figure out why my pie chart shows no numbers??

3 Answers 19 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Malcolm
Top achievements
Rank 1
Malcolm asked on 07 Nov 2012, 02:24 PM

Hello all. I am very new to Telerik charts and have decided to create my first pie chart and as a result I am without a lot of hair I started with. I can not for the life of me figure out how to get this pie chart to show actual numbers on it. I would have thought that numbers on a pie chart would be rather elementary but no matter what I change or set, all I get is the item name but not the actual number the slice of pie represents. Can anyone please, please give me a clue??

Please see attached picture for example of what I am talking about.

Thank you in advance!

Malcolm

3 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 07 Nov 2012, 02:57 PM
Hello Malcolm,

You can find sample code with the requested functionality in the following help article: How-To: Programmatically Data Binding Chart to a Generic List of Objects.

Regards,
Steve
the Telerik team

HAPPY WITH TELERIK REPORTING? Do you feel that it is fantastic? Or easy to use? Or better than Crystal Reports? Tell the world, and help fellow developers! Write a short review about Telerik Reporting and Telerik Report Designer in Visual Studio Gallery today!

0
Malcolm
Top achievements
Rank 1
answered on 07 Nov 2012, 03:05 PM

Thank you for the quick reply! Just so I am clear on this; the only way to get this done is programmatically? There is no setting I can change at design-time?

Thanks,

Malcolm

0
Malcolm
Top achievements
Rank 1
answered on 07 Nov 2012, 08:40 PM

Steve - many thanks for the example you provided. I had to do a bit of poking around to figure out how to use a data table object rather than a data structure class but I got it all good now!

Thanks,

Malcolm

Tags
General Discussions
Asked by
Malcolm
Top achievements
Rank 1
Answers by
Steve
Telerik team
Malcolm
Top achievements
Rank 1
Share this question
or