Sign in to follow this  

Values outside of limits in angular gauge cause problems?

Recommended Posts

So I was having trouble with the angular gauge properly conveying that my value had exceeded the upper limit. When I passed to the chart a dial value over the upper limit, the dial was pointing well below the upper limit. This didn't make any sense to me.




Then I found this:




Can someone please clarify if indeed a value exceeds the upper limit, the chart will not properly convey that information?




I'm able to get around the issue by testing if the value exceeds the upper limit in my PHP code, then artificially resetting the value to the upper limit. This is the only way I can get the chart to indicate that the maximum has been reached. Otherwise, it's just plain inaccurate.




Now it's quite possible (likely?) that I'm missing something, so feel free to set me straight. Thanks!

Share this post

Link to post
Share on other sites


When your dial value exceeds the upper limit the upper limit of the chart auto - resets to some value more that the dial value. The old upper limit that is set in the XML wont work.

Could you please try this which might illustrate the issue:Please note the upperlimit, dial value and the color ranges.

<chart lowerLimit='0' upperLimit='100' gaugeStartAngle='180' gaugeEndAngle='0'

 palette='1' numberSuffix='%' tickValueDistance='20' showValue='1'>


  <color minValue='0' maxValue='75' code='FF654F'/>

  <color minValue='75' maxValue='90' code='F6BD0F'/>

  <color minValue='90' maxValue='100' code='8BBA00'/>

  <color minValue='100' maxValue='1000' code='efefef'/>



  <dial value='122' rearExtension='10'/>



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this