Data source: Wunderground or MySQL Weather Display database
Graph switching with jQuery tabs and Ajax support
Year, Month , Day, Hour graphs
Caching. Without caching, from Wunderground data source is load time 2.5 - 12s (or even more - depends on actual load of Wunderground.com server). The cached WU content is loaded x-times faster (load time is +/-0.5s on my site). Same thing for MySQL WD data source.
Theming support
Datepicker for easy date selection.
Time and Y-axis value in tooltips
Zoom graph
Cookies support (selected graph tab, selected day/month/year in graph)
Separate graph window with custom sizing (linkable size, language and date)
Saratoga/CarterLake support for language switch with translation files
Custom extra text information for each graph in html format.
English/Metric units support (otherwise depends on the location of the server and its cookies)
Actual release info
v 1.8.0 (2011/09/05 11:30 UTC)
Transparent background choice for theme in configurator (from now default value); Added âCombinedâ datasource - useful if you started using WD MySQL and you want to have also available older data from Wunderground data source ; Added Portuguese and Serbian translation + updated Spanish translation ; Added preloader image when is graph loaded ; Removed blinking when graph is loaded ; Added support for datetime column in WD MySQL ; Fixed problem with WUG-ver.php and PHP servers configured with allow_url_fopen = off ; Fixed theme problem in Baro hour graphs ; Improved UV graphs look (changed to gradient area type); Fixed error in hour graphs (for clientrawhour source) if data is not numeric (â-â for missing measured values); Added language switch to Windowed mode ; Fixed saving problem in configurator for colorpicker ; Improved dependencies in configurator.php ; Small php optimization and bugfixies âinfo about previous releasesâ
Very impressive and intuitive. Changing a tab takes about 3 secs here in NZ, but that may be more of an issue with local internet speed. Very functional - well done!
Great for any template site, probably fine on an html site too provided the server has appropriate coding support available as well. Hmm, may try that on mine, but my server in US has been down 24hrs nowâŚ
WU graphs - test script for station
"Cave Country Weather"
TEST RESULTS:
* Current PHP version: 5.1.6
* WU Graphs location: "/virtual/users/e15586-16411/web/wxwugraphs/"
* Cache directory: "/virtual/users/e15586-16411/web/wxwugraphs/cache/"
* Cache directory is writable and caching is enabled
* Multilinguage support: disabled
* Default language: en
* Tested language: **)
* Used langugage: en - configured from default *)
* Used language file: "./languages/WUG-language-en.php" found
* Used Datepicker language file: "./languages/datepicker/jquery.ui.datepicker-en.js" found
* Available languages: cs, en,
* Extra text: enabled
* Version checker: enabled
* Units: english
*) Normally is language set from COOKIE or from DEFAULT value configured in WUG-settings.php
COOKIE value is automatically taken only in WU Graphs tabbed mode from currently language set in Saratoga Carterlake templates.
$standAlone = true; // true = use wugraphs.php (also you may need set $loadJQuery and $incTabsStyle to true)
$includeMode = false; // true = included by PHP include function (eg: include(âwugraphs.phpâ); )
Well I couldnât sleep last night, and getting this going kept me up till 2:00am. Now it is 6:00am and time for work :sleepy1: One question: How can I get rid of the bad wind spike data from my last station? :?
I have now tried including into my excisting page - the wug folder are located in a subfolder (www.silkeborg-vejret.dk/scripts/wug/)
I have changed all paths in wugraphs.php and WUG-settings.php to full paths - but its not working:
www.silkeborg-vejret.dk/wugrafer.php
Have this in WUG-settings.php:
$standAlone = false; // true = use wugraphs.php (also you may need set $loadJQuery and $incTabsStyle to true)
$includeMode = true; // true = included by PHP include function (eg: include('wugraphs.php'); )
Do you know if its possible to have the wug folder in a sub-folder? If yes - do you know which paths in which files needs to be modified?
[li] Some PHP functions do not work with website paths like âhttp://yourwebsite.com/dir/subdir/a.phpâ.
Full paths like â/home/web/public/WWW/dir/subdir/a.phpâ are no problem.[/li]
You may use iframe method. Just put to your page wugrafer.php
[li] Why not upload the scripts to the root directory?
In my manual is written:
âCopy directoryâ wxwugraphs âand fileâ wxwugraphs.php âthe root of your websiteâ
There are reasons why. :)[/li]
This is a difficult task and I am not able to resolve it now.