DefaultLabelValue Percantage

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

    Posted 26 Feb 2009 Link to this post

    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

  2. Ves
    Admin
    Ves avatar
    2879 posts

    Posted 02 Mar 2009 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top