Pie Chart - Display in % with 2 decimal point

Thread is closed for posting
2 posts, 0 answers
  1. Jun Ting
    Jun Ting avatar
    26 posts
    Member since:
    Nov 2007

    Posted 07 May 2010 Link to this post

    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 =

     

    "#%"

     

     

     

     

  2. Ves
    Admin
    Ves avatar
    2926 posts

    Posted 12 May 2010 Link to this post

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