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

DefaultLabelValue Percantage

1 Answer 53 Views
Chart (Obsolete)
This is a migrated thread and some comments may be shown as answers.
Martin Gartmann
Top achievements
Rank 2
Martin Gartmann asked on 26 Feb 2009, 09:21 AM
Dear Telerik,

using
 
     e.SeriesItem.Label.TextBlock.Text = row("Lehrstuhl") + " - " + String.Format("#%", row("Minuten"))  
   

work great and returns something like   NSC - 21% in chart for winforms.

Is there a direct way to get a percantage value like 21.33 %

i tried   "#%{F}"  as a format string without success.

Kind Regards

Martin Gartmann

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 02 Mar 2009, 07:42 AM
Hi Martin,

You can use "#%{P}" or "#%{P2}"for this.

Regards,
Ves
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Chart (Obsolete)
Asked by
Martin Gartmann
Top achievements
Rank 2
Answers by
Ves
Telerik team
Share this question
or