Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
Positive Negative Linear Gauge
posted

Hi support,

i have one question if my scenario is possible with the gauge control.
I want a gauge with a fix 0 point . So I can show negative and positive values.

Somethink like this:


Is this possible?

Regards Steffen

Parents
No Data
Reply
  • 34510
    Offline posted

    Hi Steffen,

    This is definitely possible.  You will need to set the Start and End values for the LinearGaugeScale on the control.  Here is some XAML to do this.

    <ig:XamLinearGauge>
     <ig:XamLinearGauge.Scales>
      <ig:LinearGaugeScale StartValue="-5" EndValue="10">
       <ig:LinearGaugeScale.Needles>
        <ig:LinearGaugeNeedle Value="0" />
       </ig:LinearGaugeScale.Needles>
      </ig:LinearGaugeScale>
     </ig:XamLinearGauge.Scales>
    </ig:XamLinearGauge>

    Let me know if you have any questions on this.

Children