minimum and maximum

4 posts, 0 answers
  1. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 16 Dec 2010 Link to this post

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

  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 17 Dec 2010 Link to this post

    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
  3. DevCraft banner
  4. Бежнар
    Бежнар avatar
    27 posts
    Member since:
    Aug 2010

    Posted 01 Apr 2011 Link to this post

    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!
  5. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 06 Apr 2011 Link to this post

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