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

Pie chart with percentage

2 Answers 180 Views
Chart
This is a migrated thread and some comments may be shown as answers.
GG
Top achievements
Rank 1
GG asked on 23 Mar 2009, 09:09 AM
Hi,

I'm binding data to a pie chart. My YValues are double representing percentage (e.g. 0.258963 for 25,90 %).
I would like that the Telerik Pie Chart display label  as percentage (25.90%) and not as the value of the double (0.258963).
What's the solution ? Should i convert my YValues on my own or Telerik have a "format" properties.

Thanks in advance.

G. Moelens

2 Answers, 1 is accepted

Sort by
0
GG
Top achievements
Rank 1
answered on 23 Mar 2009, 01:43 PM
I've found by my self !

I've set my SeriesDefinition.DefautFormat Properties to "#%{p0}".

++
0
Khoa Ho
Top achievements
Rank 1
answered on 02 Dec 2009, 12:11 AM
It's also there:

<telerik:ChartSeries Name="Series 1" Type="Pie" DefaultLabelValue="#Y%">
...
</telerik:ChartSeries>
Tags
Chart
Asked by
GG
Top achievements
Rank 1
Answers by
GG
Top achievements
Rank 1
Khoa Ho
Top achievements
Rank 1
Share this question
or