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

Pie Chart - Display in % with 2 decimal point

1 Answer 153 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Jun Ting
Top achievements
Rank 1
Jun Ting asked on 07 May 2010, 06:06 AM

How to set the value to display in 2 decimal point? The code below can't show the decimal point.

 

RadChart_Overall.Series(0).DefaultLabelValue =

 

"#%"

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 12 May 2010, 07:19 AM
Hi Jun Ting,

You can add a format string in braces:

RadChart_Overall.Series(0).DefaultLabelValue = "#%{P2}"

Sincerely,
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.
Tags
Chart (Obsolete)
Asked by
Jun Ting
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or