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

minimum and maximum

3 Answers 28 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Бежнар
Top achievements
Rank 1
Бежнар asked on 16 Dec 2010, 09:32 AM
Good day!
What method can be used to specify the minimum and maximum values for the Gauge control, which is similar to the functional setup ranking axis control Chart for example:
chartArea.AdditionalYAxes[i].AutoRange = false;
chartArea.AdditionalYAxes[i].AddRange(itemUP.minY, itemUP.maxY, itemUP.step);

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 17 Dec 2010, 02:25 PM
Hi Sergey,

If you are talking about minimum and maximum scale values, then you should use Min and Max properties of the scale object.

<telerik:RadGauge>
    <telerik:RadialGauge>
        <telerik:RadialScale Name="radialScale" Min="20" Max="300">
            <telerik:IndicatorList>
                <telerik:Needle Value="40" />
            </telerik:IndicatorList>
        </telerik:RadialScale>
    </telerik:RadialGauge>
</telerik:RadGauge>

this.radialScale.Max = 300;
this.radialScale.Min = 20;

Let me know how this helps, or whether I am leaving something out.

Kind regards,
Andrey Murzov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Бежнар
Top achievements
Rank 1
answered on 01 Apr 2011, 12:12 PM
Super! But this method does not fit!
Try to programmatically (in code) set the time step of 0.01 marks, at least 0, maximums of 1, and then back at least to 0, a maximum of 300.
As a result - to get a long drawing of control!
0
Andrey
Telerik team
answered on 06 Apr 2011, 08:32 AM
Hello Бежнар,

I'm sorry, but I don't quite understand what you mean by "the time step of 0.01 marks".
Could you, please, clarify it? Or could you, please, provide us with a small sample solution which reproduces the problem?

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
Gauge
Asked by
Бежнар
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Бежнар
Top achievements
Rank 1
Share this question
or