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 4019) - 03 April 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

How to Change Gauge Type

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

How to Change Gauge Type

Post by krmidas »

Apologies if this is a dumb question, but is there a relatively easy way for me to change my rainfall gauge from what I've got:
Snapz Pro XScreenSnapz001.jpg
To this type:
Snapz Pro XScreenSnapz002.jpg
I don't like the black LED's over the dark gray background.

Any help would be appreciated! Thanks.

-Tom
You do not have the required permissions to view the files attached to this post.
Tom Keramidas, Lake Zurich, IL, USA
Image
User avatar
steve
Cumulus Author
Posts: 26701
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: How to Change Gauge Type

Post by steve »

I think you probably want to change

Code: Select all

var g_rainUseSectionColours = false;    // Only one of these colour options should be true
var g_rainUseGradientColours = false;   // Set both to false to use the pointer colour
to

Code: Select all

var g_rainUseSectionColours = false;    // Only one of these colour options should be true
var g_rainUseGradientColours = true;   // Set both to false to use the pointer colour
in gauges.js
Steve
User avatar
mcrossley
Posts: 12756
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: How to Change Gauge Type

Post by mcrossley »

Yes, with setting both those values to false, the gauge is using the pointer colour (as it says in the comments) - which you have set to Black. The default is SectionColours = true, but if you want the effect in your image, Steve suggestion is correct.
User avatar
krmidas
Posts: 215
Joined: Sat 03 Jul 2010 9:03 pm
Weather Station: Davis Vantage Pro 2
Operating System: Windows 10
Location: Lake Zurich, IL; USA
Contact:

Re: How to Change Gauge Type

Post by krmidas »

Easy enough! Thanks much, guys.
Tom Keramidas, Lake Zurich, IL, USA
Image
Post Reply