Dual Radial Gauge

2 posts, 0 answers
  1. Tom Cugini
    Tom Cugini avatar
    5 posts
    Member since:
    Mar 2010

    Posted 01 Mar 2011 Link to this post

    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?
    .
  2. Andrey
    Admin
    Andrey avatar
    1681 posts

    Posted 04 Mar 2011 Link to this post

    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!
  3. DevCraft banner
Back to Top