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

Dual Radial Gauge

1 Answer 43 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
Tom Cugini
Top achievements
Rank 1
Tom Cugini asked on 01 Mar 2011, 02:33 PM
Have dual gauge using Markers, how can i change Marker to triangle?
Also, would like the center part of gauge smaller and marker larger?
How do i make the tick marks smaller?
.

1 Answer, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 04 Mar 2011, 10:06 AM
Hello Tom Cugini,

You can use two radial scales. You can specify the StartAngle, SweepAngle and Radius properties to get necessary appearance.
The sample code is the following:
Copy Code
<telerik:RadGauge Width="300" Height="300">
    <telerik:RadialGauge>
        <telerik:RadialScale x:Name="radialScale1"
                             Min="0" Max="10"
                             StartAngle="120"
                             SweepAngle="120">
            <telerik:IndicatorList>
                <telerik:Needle x:Name="needle1"
                                IsAnimated="True"
                                Value="3"/>
            </telerik:IndicatorList>
        </telerik:RadialScale>
        <telerik:RadialScale x:Name="radialScale2"
                             Min="0" Max="100"
                             MajorTicks="4"
                             StartAngle="300"
                             SweepAngle="120"
                             Radius="0.4"
                             Center="0.6,0.5"
                             IsReversed="True">
            <telerik:IndicatorList>
                <telerik:Needle x:Name="needle2"
                                IsAnimated="True"
                                Value="50"/>
            </telerik:IndicatorList>
        </telerik:RadialScale>
    </telerik:RadialGauge>
</telerik:RadGauge>

For more information please take a look at the Radial Scale Overview topic in our online documentation:
http://www.telerik.com/help/silverlight/radial-scale-overview.html

All the best,
Andrey Murzov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Gauge
Asked by
Tom Cugini
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Share this question
or