Mark
I notice the "Wm²" looks like it is Wm-2 on the Solar gauge background. is this a bug or can the - (minus) be removed from the gauge?
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
WM² in Solar Gauge
Moderator: mcrossley
- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
WM² in Solar Gauge
Last edited by ConligWX on Fri 10 Mar 2017 12:53 pm, edited 1 time in total.
- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: WM² in Solar Gauge
its ok just edited gauges.js:Toxic17 wrote:Mark
I notice the "Wm²" looks like it is Wm-2 on the Solar gauge background. is this a bug or can the - (minus) be removed from the gauge?
Code: Select all
params.unitString = 'Wm²\u207B\u00B2';Code: Select all
params.unitString = 'W/m²';- steve
- Cumulus Author
- Posts: 26672
- Joined: Mon 02 Jun 2008 6:49 pm
- Weather Station: None
- Operating System: None
- Location: Vienne, France
- Contact:
Re: WM² in Solar Gauge
It's not a mistake - Wm-2 is an alternative way of writing W/m2. Not sure why Mark chose to do it that way, though.
Steve
- ConligWX
- Posts: 1835
- Joined: Mon 19 May 2014 10:45 pm
- Weather Station: Davis vPro2+ w/DFARS + AirLink
- Operating System: Ubuntu 24.04.1 LTS
- Location: Bangor, NI
- Contact:
Re: WM² in Solar Gauge
Thanks for the info Steve.
- mcrossley
- Posts: 14384
- Joined: Thu 07 Jan 2010 9:44 pm
- Weather Station: Davis VP2/WLL
- Operating System: Bullseye Lite rPi
- Location: Wilmslow, Cheshire, UK
- Contact:
Re: WM² in Solar Gauge
Just that it takes up less space, and I'm used to writing it like that back from my physics days. I have seen an issue with it though in that I use the superscript "-" character, and some systems do not seem to have that character in their fonts. So maybe I should change it to W/m2steve wrote:It's not a mistake - Wm-2 is an alternative way of writing W/m2. Not sure why Mark chose to do it that way, though.