Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4017) - 17 March 2024

Legacy Cumulus 1 release v1.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

Solar Gauge "Wedge" Issue

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

User avatar
mcrossley
Posts: 12689
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Solar Gauge "Wedge" Issue

Post by mcrossley »

Code: Select all

if (cache.currMaxValue > 0) {
....
} else {
    ssGauge.setArea([]);
}
Herbaldew
Posts: 113
Joined: Sun 12 Mar 2017 8:33 pm
Weather Station: VP2+
Operating System: Raspberry Pi OS (64-bit)
Location: US Mid-Atlantic

Re: Solar Gauge "Wedge" Issue

Post by Herbaldew »

Works great - thanks!

A note to anyone trying this and who may be copy-n-pasting like me ... I ended up with one "}" too many and had to delete one, so I used this:

Code: Select all

 else {
    ssGauge.setArea([]);
}
instead of this:

Code: Select all

} else {
    ssGauge.setArea([]);
}
Post Reply