Linear Gauge values

2 posts, 1 answers
  1. macky
    macky avatar
    11 posts
    Member since:
    May 2009

    Posted 21 Jul 2010 Link to this post

    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
  2. Answer
    Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 22 Jul 2010 Link to this post

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