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

Change Amount Of Ticks On Wind Gauge

Discussion of Mark Crossley's HTML5/Javascript gauges

Moderator: mcrossley

Post Reply
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Change Amount Of Ticks On Wind Gauge

Post by Grimers »

Hi Mark/others,

I've managed to edit most things in the gauges.js code, but I can't see any part of code that controls the amount of ticks on the wind gauge. I am being a little pinickity, but I wanted to change the amount of ticks on the gauge so there was one per mph not 3 as is the default now.

I am currently looking in the gauges.js file and presume this is the correct one. Is it possible to change this?

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

Re: Change Amount Of Ticks On Wind Gauge

Post by mcrossley »

Not easily, that is part of the steelseries code, calculating a pleasing tick spacing is not an easy task. The gauges could probably do it a bit better than they do, but it ain't going to change anytime soon.
Grimers
Posts: 240
Joined: Tue 24 Nov 2015 9:07 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 11 64-bit
Location: Newton Poppleford, Devon, UK
Contact:

Re: Change Amount Of Ticks On Wind Gauge

Post by Grimers »

mcrossley wrote:Not easily, that is part of the steelseries code, calculating a pleasing tick spacing is not an easy task. The gauges could probably do it a bit better than they do, but it ain't going to change anytime soon.
No problem, Mark. I'll see what I can do my end. :idea:
Post Reply