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

BarIndicator position in SemicircleNorthGauge

1 Answer 40 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Steven
Top achievements
Rank 1
Steven asked on 30 Oct 2012, 08:29 PM

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. 

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 02 Nov 2012, 07:42 AM
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.

Tags
Gauge
Asked by
Steven
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or