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

Original Cumulus Gauges.html (solved)

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

Post Reply
OliII
Posts: 54
Joined: Mon 19 Mar 2012 11:47 am
Weather Station: WMR 200 by Oregon Scientific
Operating System: WinXP SP3
Location: Belgium

Original Cumulus Gauges.html (solved)

Post by OliII »

Hello,
I discover Cumulus Software a few weeks ago and adopted it !
Since last week, i use the templates from Cumulus directly to my server to get in my website.
Today, i use WordPress with a plugin to include many HTML pages into articles and pages and i've only one problem.
The page with gauges are bad displayed..
The gauges in thermometer, rain and humidity are like this :
Image
Into the "normal" template, the gauges are good !
The gap is 4px vertical from bottom of image, 8px horizontal form right gauges.
Could you tell me what's wrong with these gauges ?

The pages on my website and some informations :
Cumulus direct FTP : http://www.7331.be/cam/gauges.htm
Wordpress including Cumulus webpage : http://www.7331.be/wordpress/baudourmeteo/jauges/
Plugin Wordpress : WPInclude
Worpdress Theme : Graphene 1.6.2
Cumulus version 1.9.2 Build 1030 (update is coming this afternoon)

Note : the website url would be change on March, 21th 2012.
Thx !
Last edited by OliII on Sat 12 May 2012 8:58 pm, edited 1 time in total.
Image
http://www.7331.be/meteo website based on the phpBB3 forum and template. WMR200 + UVN 800 - Cumulus 1.9.4 1062 / Windows XP Service Pack 3 build 2600 FR
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Original Cumulus Gauges.html

Post by steve »

I'm no expert at this (I didn't write the gauge code, it's supplied 'as is') but I think one solution would be to edit dashboard.js and change the code which draws the bars, e.g.

jg.fillRect(50,t,15,b);

You probably need to change the 50 and the 15.

The max and min horizontal lines are also offset, so you'll need to do something similar with those, e.g.

jg.drawLine(43,t,72,t);
Steve
OliII
Posts: 54
Joined: Mon 19 Mar 2012 11:47 am
Weather Station: WMR 200 by Oregon Scientific
Operating System: WinXP SP3
Location: Belgium

Re: Original Cumulus Gauges.html

Post by OliII »

Ok, i'll do the changes.. and testing.
If don't find any solution, i'll change the WPTemplate. Some templates are ok ! :roll:
Image
http://www.7331.be/meteo website based on the phpBB3 forum and template. WMR200 + UVN 800 - Cumulus 1.9.4 1062 / Windows XP Service Pack 3 build 2600 FR
Post Reply