BarIndicator position in SemicircleNorthGauge

2 posts, 0 answers
  1. Steven
    Steven avatar
    9 posts
    Member since:
    Jan 2012

    Posted 30 Oct 2012 Link to this post


    I am using the SemicircleNorthGauge with a BarIndicator.

    The BarIndicator appears to be vertically aligned to the top of the gauge. I would like for it to be aligned to the bottom. I have tried the various ScaleObject.Location settings but none of them align the BarIndicator to the bottom of the semi circle. 

    I can achieve this by setting the top margin of the bar indicator, however, this doesn't seem like the right approach.

    Could you please tell me if this is possible?

    Please see the attached images for an example of what the bar indicator looks like both before I set the margin and after I set the margin. 
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 02 Nov 2012 Link to this post

    Hi Steven,

    The BarIndicator is displayed around of the scale bar. So, I would recommend to change the Center property of the scale to change a position of a bar indicator. The sample code is below.
    <telerik:RadSemicircleNorthGauge>
        <telerik:SemicircleNorthScale Center="0.5,1">
            <telerik:SemicircleNorthScale.Indicators>
                <telerik:BarIndicator Value="100" />
            </telerik:SemicircleNorthScale.Indicators>
        </telerik:SemicircleNorthScale>
    </telerik:RadSemicircleNorthGauge>

    For more information about the Center property please take a look at the following documentation topic:
    http://www.telerik.com/help/silverlight/radgauge-features-radial-scale.html

    All the best,
    Andrey Murzov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top