Page 2 of 2

Re: Solar Gauge "Wedge" Issue

Posted: Thu 10 Aug 2017 8:37 am
by mcrossley

Code: Select all

if (cache.currMaxValue > 0) {
....
} else {
    ssGauge.setArea([]);
}

Re: Solar Gauge "Wedge" Issue

Posted: Thu 10 Aug 2017 5:49 pm
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([]);
}