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

Linear Gauge values

1 Answer 36 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
macky
Top achievements
Rank 1
macky asked on 22 Jul 2010, 12:14 AM
Hi Telerik Staff,

           How do I put a comma on the values in the LInear Gauge?

           My values are not  from 0 to 100. It's from  1,000 (Min) to 50,000 (Max).  The users wants a comma for easy to read.

Thanks,
Mac

1 Answer, 1 is accepted

Sort by
0
Accepted
Andrey
Telerik team
answered on 22 Jul 2010, 09:12 AM
Hello macky,

You can use the Format property of the LabelProperties element to display a comma.
<telerik:LinearScale x:Name="linearScale" Max="50000" Min="1000">
    <telerik:LinearScale.Label>
        <telerik:LabelProperties Format="{}{0:#,#}" />
    </telerik:LinearScale.Label>
</telerik:LinearScale>

Best wishes,
Andrey Murzov
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
Tags
General Discussions
Asked by
macky
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or