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
20
UltraGauge SetTickmarkInterval
posted

Hi,

I am using Ultra Gauge in my asp.net application. I have to assign the dynamic "SetEndValue". If this value is very large then then numbers on the gauge become very small and unable to read. To overcome this issue I set "SetTickmarkInterval = SetEndValue/6". This solved the problem, but if "SetEndValue= 2000 then SetTickmarkInterval = SetEndValue/6 = 333.33" and MaxValue shown on gauge will be "1998".

Please let me know how to show the proper MaxValue on the gauge.

 

Thanks

Parents
No Data
Reply
  • 28496
    Verified Answer
    Offline posted

    it looks like your interval is getting cast to an int, 333.  try SetEndValue / 6.0 to ensure that the calculation is based on System.Double values.

Children
No Data