Sandaysoft

Support forum for Cumulus weather station software
It is currently Tue May 21, 2013 9:20 pm
Please click here before posting. Help me to help you!
Useful Links: Cumulus FAQ • Enhancement requests • Wiki (documentation)
Please put your approximate location into your profile
Add your web site to the Cumulus user map
Vantage Pro2 users with firmware 3.00 should upgrade to fw 3.12 and Cumulus 1.9.4

All times are UTC




Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Fri Mar 11, 2011 11:56 am 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
I'm going to have a beer ....
Image

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Last edited by beteljuice on Tue Mar 26, 2013 4:11 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Fri Mar 11, 2011 12:36 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
dvandellen wrote:
An other question... ;)
Not another question??? :mrgreen:

dvandellen wrote:
How can i change the time's that are in the graphs? ... Like 7am needs to be 7:00 and 7pm needs to be 19:00...
A line of code has to be modified in all graphic producing scripts ('baro.php, 'dewpt.php', 'intemp.php', 'rain.php', 'temp.php', 'wind.php' and 'winddir.php')...
Original code:
Code:
$rx[] = timeto12(substr(ret_value("time"),0,2));
Modified code:
Code:
// $rx[] = timeto12(substr(ret_value("time"),0,2)); // for 12 hour display with am/pm
$rx[] = substr(ret_value("time"),0,5); // for 24 hour display
What I have done was to comment out the old line and add the new line.


Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Fri Mar 11, 2011 1:17 pm 
Offline

Joined: Thu Feb 24, 2011 1:19 pm
Posts: 35
Location: The Netherlands
Weather Station: ws4000
Operating System: windows xp sp3
Yez i know my english is not perfect :D

It works, your good in this stuff man ;)

_________________
http://www.weerstationniawier.nl


Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Fri Mar 11, 2011 1:55 pm 
Offline
User avatar

Joined: Tue Dec 09, 2008 1:37 pm
Posts: 1846
Location: Dudley, West Midlands, UK
Weather Station: None !
Operating System: XP SP3
Don't even think about asking ...
Image

Note to management; please remove if / when fails or annoying :D

Edit: changed for new larger graphs :?

_________________
Image
......................Imagine, what you will KNOW tomorrow !


Last edited by beteljuice on Tue Mar 26, 2013 4:10 am, edited 2 times in total.

Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Fri Mar 11, 2011 4:03 pm 
Offline

Joined: Thu Feb 24, 2011 1:19 pm
Posts: 35
Location: The Netherlands
Weather Station: ws4000
Operating System: windows xp sp3
Thats a nice idee for my website...

I was thinking about how i could place my jpgraphs in different hours (24/72/94 etc...) without getting 28 thumbnails

thanks :D

_________________
http://www.weerstationniawier.nl


Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Tue Mar 15, 2011 7:25 pm 
Offline

Joined: Thu Feb 24, 2011 1:19 pm
Posts: 35
Location: The Netherlands
Weather Station: ws4000
Operating System: windows xp sp3
Hello,

i have placed the graphs on my website now..

For those who are interrested in the results: http://www.weerstationniawier.nl >grafieken


And is it possible to get an avarage winddirection line? And where can i change the N/E/S/W of the winddir graph?

_________________
http://www.weerstationniawier.nl


Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Wed Mar 16, 2011 12:54 pm 
Offline

Joined: Mon Aug 10, 2009 10:16 pm
Posts: 1797
Location: World...
Weather Station: No weather station
Operating System: No operating system
Well done with the graphic page.

dvandellen wrote:
And is it possible to get an avarage winddirection line?
Do you mean something similar to what I have on this Weather Graphics page?

dvandellen wrote:
And where can i change the N/E/S/W of the winddir graph?
Look for the array '$SITE['compass']' in the 'GraphSettings.php' configuration template.


Top
 Profile  
 
 Post subject: Re: Cumulus and jpgraphs
PostPosted: Wed Apr 04, 2012 8:02 pm 
Offline

Joined: Sun May 01, 2011 7:13 pm
Posts: 45
Location: Funchal
Weather Station: Watson
Operating System: Windows 7
Hello Can anyone help me make the graphics configurations dog?
I tried everything I can for them and not working.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group