Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > Why the Min value couldn't be greater than Max?

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

Feed from this thread
  • Saravanan avatar

    Posted on Oct 7, 2011 (permalink)

    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

    Reply

  • Andrey Andrey admin's avatar

    Posted on Oct 11, 2011 (permalink)

    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 >>

    Reply

  • Saravanan avatar

    Posted on Oct 11, 2011 (permalink)

    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

    Reply

  • Andrey Andrey admin's avatar

    Posted on Oct 14, 2011 (permalink)

    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 >>

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > Gauge > Why the Min value couldn't be greater than Max?
Related resources for "Why the Min value couldn't be greater than Max?"

Silverlight Gauge Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]