Why the Min value couldn't be greater than Max?

4 posts, 0 answers
  1. Saravanan
    Saravanan avatar
    36 posts
    Member since:
    Jun 2011

    Posted 07 Oct 2011 Link to this post

    Hi Team,
    i have given Min value =900 and max Value=1200 but its showing error ?
    this value is correct right ?
      
      
    <telerik:RadialGauge x:Name="radialGauge" Width="300" Height="300">
                <telerik:RadialScale Min="900"  Max="1200" MajorTickStep="200">
                    <telerik:IndicatorList>
                        <telerik:Needle Value="1000" />
                    </telerik:IndicatorList>
                </telerik:RadialScale>
            </telerik:RadialGauge>
      
    Please let me know 
    Thanks,
    Sara
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 11 Oct 2011 Link to this post

    Hello Saravanan,

    The scale has got 0-100 as its Min-Max by default. So, when you set Min as 900 then it is greater than 100 (default Max value). In this case I would recommend to set the Max value before the Min. The sample code is below:
    <telerik:RadialGauge x:Name="radialGauge" Width="300" Height="300">
                <telerik:RadialScale Max="1200" Min="900" MajorTickStep="200">
                    <telerik:IndicatorList>
                        <telerik:Needle Value="1000" />
                    </telerik:IndicatorList>
                </telerik:RadialScale>
    </telerik:RadialGauge>

    All the best,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Saravanan
    Saravanan avatar
    36 posts
    Member since:
    Jun 2011

    Posted 11 Oct 2011 Link to this post

    Thanks team,i have one more doubt team can we have to sholw logarthimic scale in radial scale,

    i want to displaly 1k ,2k,etc,its working fine in chart only.

    its working fine

    Saravanan
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 14 Oct 2011 Link to this post

    Hello Saravanan,

    You always can change format of the tick mark labels using RadialScale.Label property. For example:

    <telerik:RadGauge x:Name="radGauge">
        <telerik:RadialGauge>
            <telerik:RadialScale x:Name="linearScale"
                     Max="10000"
                     Min="1000"
                     MajorTickStep="1000">
                <telerik:RadialScale.Label>
                    <telerik:LabelProperties Foreground="Red" Format="{}{0:0,}K"  />
                </telerik:RadialScale.Label>
                <telerik:IndicatorList>
                    <telerik:Needle />
                </telerik:IndicatorList>
            </telerik:RadialScale>
        </telerik:RadialGauge>
    </telerik:RadGauge>


    Greetings,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top