Hi,
I'm testing V2beta gauges.
How can i increase space between the gauges?
with V1.5 the gauges were over the entire width, with V2.0Beta there are centered!
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
Gauges spacing
Moderator: mcrossley
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Gauges spacing
You do not have the required permissions to view the files attached to this post.
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Gauges spacing
Can someone help please?
What do i have to do to change gauges spacing
?
Something to change in gauges-ss.css ?
Thanks
What do i have to do to change gauges spacing
Something to change in gauges-ss.css ?
Thanks
- 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: Gauges spacing
Yes, you will have to change the CSS, I'm hopeless at CSS. It should be fairly simple as each gauge is contrained in a DIV and each row is just another DIV.
So a simple bit of CSS such as this should work - but can I make it...
bloomin' CSS!
So a simple bit of CSS such as this should work - but can I make it...
- laulau
- Posts: 678
- Joined: Tue 13 Oct 2009 10:52 pm
- Weather Station: WeatherDuino Pro2
- Operating System: Win 7
- Location: Meyenheim, Alsace, FR
- Contact:
Re: Gauges spacing
Thanks i understood how css works but i have to learn a little bit about this!
I noticed something else :
In
those properties are aways taken from gauges.js config.gaugeSize i think.
Why do the properties from the html file not override those from config ?
I noticed something else :
In
The width and height properties have no effect<div class="row">
<canvas id="canvas_led" width="40" height="30"></canvas>
<canvas id="canvas_status" width="500" height="25"></canvas>
<canvas id="canvas_timer" width="70" height="25"></canvas>
</div>
<div class="row">
</div>
<div class="row">
<div id="tip_0" class="gauge">
<canvas id="canvas_temp" width="281" height="281"></canvas>
those properties are aways taken from gauges.js config.gaugeSize i think.
Why do the properties from the html file not override those from config ?
- 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: Gauges spacing
Yes, the Canvas tag is different from the the surrounding div that you have removed. The canvas size is set by the gauge when it is created - hence no size in the HTML or CSS. I think you will have to resize an enclosing Vic and centre the gauge within that to achieve what you want.