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

Pie Chart - % and Legend

2 Answers 80 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 22 May 2011, 04:09 PM
I have a RadChart (pie chart type) bound to a business object entity with properties bldQty (decimal) and varietalID (int).
The bldQty property represents a perctage (based on a maximum 100%).

The pie chart autoscales as objects are added to the entity set.  What I'm trying to do is have the pie represent a static 100% and as entities are addes to the entityset add the "slice".

For example if I add an entity with a bldQty = 23, it should have a single slice of 23% and only that slice shown.  Currently a full pie is drawn with the 23 value.  If I add a second entity of say bldQty = 5, I should now have 2 slices, each represented visually their part of 100%.  Currently the pie is drawn as a full circle with the two values split proportionately.

In addition, I would like to add a lookup in the Legend portion which I believe can be done in ItemDataBound.  Unfortunately what I've been able to find on the threads refers to WPF and are not relevant.

[The search function of the website / forums hasn't worked for a couple days which makes looking this type of information up difficult at best so I apologize if there are relevant threads]

2 Answers, 1 is accepted

Sort by
0
Yavor
Telerik team
answered on 25 May 2011, 11:46 AM
Hello Mark,

Presently, the pie series type cannot support such a rendering. The pie is rendered as a complete entity, and cannot allow rendering of individual slices.

All the best,
Yavor
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
Mark
Top achievements
Rank 1
answered on 25 May 2011, 11:48 AM
Hi Yavor,

Thanks for the additional information.  If only real pies acted this way ... (laughing).

This would be an interesting feature tho ... but as always thank you for your effort.

Mark
Tags
Chart
Asked by
Mark
Top achievements
Rank 1
Answers by
Yavor
Telerik team
Mark
Top achievements
Rank 1
Share this question
or