Custom label format

2 posts, 0 answers
  1. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 31 Dec 2010 Link to this post


    I have a question:

    I have following .NET number format: $#,##0.00. If I set this format to the chart axis: "#VAL{$#,##0.00}" this works fine. But if I set this "{$#,##0.00}" to the gauge label format it doesn't work.

    How can I apply this format to the gauge label format?

    Thanks, Anatoly Chekh.
  2. Sia
    Sia avatar
    667 posts

    Posted 31 Dec 2010 Link to this post

    Hi Anatoly Chekh,

    The needed format should be set as follows:
    this.scale.Label.Format = "${0:F}";

    where "scale" is the Name of the RadialScale.

    the Telerik team
    Browse the videos here>> to help you get started with RadControls for Silverlight
  3. DevCraft R3 2016 release webinar banner
Back to Top