Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024
Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)
Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Yet more gauges
Moderator: daj
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Yet more gauges
I am just playing with some more new gauges (I must be obsessed with the them!).
You can see the experimental page here (with controls for changing some of the formats):
http://weather.wilmslowastro.com/gaugesB/gauges.htm
This is pure Javascript/HTML5/Canvas, no graphics other than the page background.
Note, that I have made no attempt to make this latest version work with IE8 or older yet, and I am still playing with it, so the page may break from time to time - refresh in 15 mins to see if I fix it!
Also this is running on my old laptop over my ADSL, which I also use for work, so things may be a bit slow if lots of you hit the page!
You can see the experimental page here (with controls for changing some of the formats):
http://weather.wilmslowastro.com/gaugesB/gauges.htm
This is pure Javascript/HTML5/Canvas, no graphics other than the page background.
Note, that I have made no attempt to make this latest version work with IE8 or older yet, and I am still playing with it, so the page may break from time to time - refresh in 15 mins to see if I fix it!
Also this is running on my old laptop over my ADSL, which I also use for work, so things may be a bit slow if lots of you hit the page!
-
wd40
- Posts: 448
- Joined: Thu 05 Aug 2010 10:02 pm
- Weather Station: WS2080
- Operating System: W7
- Location: GA, USA
- Contact:
Re: Yet more gauges
Those are really neat gauges.
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
Unfortunately I cannot make them work with IE8 or older as they use Canvas features that are not implemented in excanvas. I just found that they also use Canvas features that are not available on Palm WebOS either. 
- Ned
- Posts: 258
- Joined: Mon 19 Jul 2010 11:15 am
- Weather Station: WS2083 (aspirated)
- Operating System: Win 10
- Location: Auckland NZ
Re: Yet more gauges
Works nicely on my Android phone (but slowly)
FF4 is struggling (missing 3 lower gauges, no live readings)
FF4 is struggling (missing 3 lower gauges, no live readings)
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
I have minified the code more aggressively and made some other changes that speed it up a bit. I'll look into the FF4 issue, thanks...
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Yet more gauges
I get the following error in FF4:
Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://weather.wilmslowastro.com/gauges ... ies.min.js Line: 1"]
I had a quick look at line 1 in steelseries.min.js... and gave up
Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://weather.wilmslowastro.com/gauges ... ies.min.js Line: 1"]
I had a quick look at line 1 in steelseries.min.js... and gave up
Steve
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
Ha! Steve the 'debug' version of the page with "un-minified" scripts is on "gaugesB.htm". I don't have FF installed at the mo, so if you could give me a clue I'll have a look!
- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: Yet more gauges
The error is at line 851:
backgroundContext.rotate(rotationOffset + (threshold - minValue) * angleStep + HALF_PI);
The second time that line is executed, "threshold" is undefined. Hope that helps.
backgroundContext.rotate(rotationOffset + (threshold - minValue) * angleStep + HALF_PI);
The second time that line is executed, "threshold" is undefined. Hope that helps.
Steve
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
TA, I'll have a trace through the code, some else wrote it though so it may take a while...
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
Fixed - I hope, an uninitialised variable in my code 
- nitrx
- Posts: 1297
- Joined: Sun 13 Dec 2009 1:21 pm
- Weather Station: WH1080
- Operating System: Windows 10
- Location: Apeldoorn The Netherlands
- Contact:
Re: Yet more gauges
They seem to work fine now in FF 4 great job !
-
gemini06720
- Posts: 1700
- Joined: Mon 10 Aug 2009 10:16 pm
- Weather Station: No weather station
- Operating System: No operating system
- Location: World...
Re: Yet more gauges
Mark, gauges display well in Firefox 3, Google Chrome, Opera and Internet Explorer 9... 
- mcrossley
- Posts: 14388
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: Yet more gauges
Thanks Ray - what no Safari? 
Shame about excanvas and WebOS, wonder if they display OK on iPhone/iPad?
Shame about excanvas and WebOS, wonder if they display OK on iPhone/iPad?