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

Custom label format

1 Answer 39 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Anatoly Chekh
Top achievements
Rank 1
Anatoly Chekh asked on 31 Dec 2010, 11:40 AM
     Hello!

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.

1 Answer, 1 is accepted

Sort by
0
Sia
Telerik team
answered on 31 Dec 2010, 03:41 PM
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.

Regards,
Sia
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
Tags
Gauge
Asked by
Anatoly Chekh
Top achievements
Rank 1
Answers by
Sia
Telerik team
Share this question
or