DefaultLabelValue Percantage

Thread is closed for posting
2 posts, 0 answers
  1. Martin Gartmann
    Martin Gartmann avatar
    53 posts
    Member since:
    Apr 2004

    Posted 26 Feb 2009 Link to this post

    Dear Telerik,

         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

  2. Ves
    Ves avatar
    2926 posts

    Posted 02 Mar 2009 Link to this post

    Hi Martin,

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

    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.
Back to Top