Gauge with negative values

Thread is closed for posting
2 posts, 0 answers
  1. Jonas Karlsson
    Jonas Karlsson avatar
    8 posts
    Member since:
    Nov 2009

    Posted 26 Feb 2013 Link to this post


    Having some problems with a gauge that has negative values. My range is from -70 to 70.
    Is it possible to set the bar to start from 0 or the middle of the gauge?
    With the code below the bar goes from -70  or left side of the gauge to the value that is set.

    / Jonas
    <gauges:RadialGaugeRange x:Name="range3"
                                        CenterMode="BottomCenter" Margin="28,0,60,0" >
                               <Rectangle Width="7" Height="1" Fill="{Binding Converter={StaticResource valueToBrushConverter}}"/>
                               <TextBlock Text="{Binding}"
                       <gauges:SegmentedRadialGaugeIndicator gauges:RadialGaugeRange.MaxAngle="180"
                           <gauges:BarIndicatorSegment Thickness="2"
                           <gauges:BarIndicatorSegment Thickness="2"
                           <gauges:BarIndicatorSegment Thickness="2"
                       <gauges:RadialBarGaugeIndicator gauges:RadialGaugeRange.MaxAngle="180"
                                                   BarBrush="{StaticResource PhoneChromeBrush}"
                       <gauges:RadialBarGaugeIndicator x:Name="indicatorTimingAdvance"
                                                   BarBrush="{StaticResource PhoneForegroundBrush}"
                                                   IsAnimated="True" StartValue="0" />
                       <gauges:MarkerGaugeIndicator Value="105"
                                                MarkerTemplate="{StaticResource starTemplate}">

  2. Victor
    Victor avatar
    1358 posts

    Posted 27 Feb 2013 Link to this post

    Hello Jonas,

    Thank you for writing.

    From what I understand you want your bar indicator to start from 0 and increase to the right for positive values and to the left for negative values. Is that correct?

    Currently our radial gauges support negative values in the sense that the radial indicators can increase from right to left only from left to right. The linear gauges however support this behavior.

    Kind regards,
    the Telerik team
    Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Back to Top