cloudy cloudy

Author Topic: Ver. 2.4.0 not auto scaling rain  (Read 1344 times)

0 Members and 1 Guest are viewing this topic.

Offline weatherbee

  • Posts: 726
  • Sherman, Ct.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 27.0.1453.110
    • Sherman Ct. Weather
Ver. 2.4.0 not auto scaling rain
« on: June 08, 2013, 08:08:42 PM »
I installed Version 2.4.0 today but the rain doesn't auto scale.  you can see here: http://www.shermanctweather.com/wxssgauges.php
My regular page uses Ver.2.3.1  which autoscales.  you can see here: http://www.shermanctweather.com/
« Last Edit: June 08, 2013, 08:24:27 PM by weatherbee »
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


Offline mcrossley

  • Posts: 658
  • Wilmslow, Cheshire, UK
    • none
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 27.0.1453.94
    • WilmslowAstro Weather
Re: Ver. 2.4.0 not auto scaling rain
« Reply #1 on: June 09, 2013, 12:22:26 PM »
A bug which affects the rain rate gauge when using inches and the value is between 0.5 and 1.0, line 1559 in gauges.js is...
Code: [Select]
                if (_rrate.overallMax <= 1) {Should be...
Code: [Select]
                if (_rrate.overallMax <= 0.5) {
I'll get 2.4.1 released to fix this.
« Last Edit: June 09, 2013, 12:25:00 PM by mcrossley »
Mark

Offline weatherbee

  • Posts: 726
  • Sherman, Ct.
  • OS/Browser:
  • Win 7/Srvr 2008R2
  • Chrome 27.0.1453.110
    • Sherman Ct. Weather
Re: Ver. 2.4.0 not auto scaling rain
« Reply #2 on: June 09, 2013, 02:25:12 PM »
Thank you.  Your gauges and support are great.
Sony Pentium 4, 1.6 GHZ,512 MB Ram, Windows XP Pro, SP2


 

cumulus