WXforum.net

Web Weather => Weather Website PHP/AJAX scripting => Topic started by: kocher on July 08, 2015, 02:22:59 PM

Title: New interactives graphs (temp and rain) trend
Post by: kocher on July 08, 2015, 02:22:59 PM
Greetings to all

I present my new 2 graphics to see the trend of temperature and rainfall from the commissioning of our station.

Script courtesy of: Michael Holden from www.relayweather.com (http://www.relayweather.com).
Script calculations courtesy of: Murry Conarroe from weather.wildwoodnaturist.com (http://weather.wildwoodnaturist.com).
Script modifications courtesy of Blackjack52: http://www.knology.net/~blackjack52/wxlocclimate.php (http://www.knology.net/~blackjack52/wxlocclimate.php)

The graphics are created with Highcharts libraries, that is, which are interactive.

News:

Columns of temperature and rain take different colors, depending on their values.

How does it work?:

With file "testtags.php"

Requirements:
- Weatherdisplay
- Having updated our web testtags.php file.
- Install "jquery.min.js" file and point to it
  (Line 198 of the temperature graph)
  (Line 317 of the graph rain)

You can see here the difference between the classic version of this page, and the new version:

Classic version: http://kocher.es/weatherdisplay/wxglobaltrends.php (http://kocher.es/weatherdisplay/wxglobaltrends.php)
Interactive version: http://kocher.es/tendencia_temp.php (http://kocher.es/tendencia_temp.php)

Download link:

- jquery.min.js: http://kocher.es/weatherdisplay/jquery.min.js.txt (http://kocher.es/weatherdisplay/jquery.min.js.txt) (rename to jquery.min.js) and upload it to our website

- climate-temp-trend-hc-2.php: http://kocher.es/weatherdisplay/climate-temp-tendencia-hc-2.php.txt (http://kocher.es/weatherdisplay/climate-temp-tendencia-hc-2.php.txt) (rename to climate-temp-trend-hc-2.php and upload it to our website).

- climate-rain-trend-hc-2.php: http://kocher.es/weatherdisplay/climate-rain-tendencia-hc-2.php.txt  (http://kocher.es/weatherdisplay/climate-rain-tendencia-hc-2.php.txt)(rename to climate-rain-trend-hc-2.php and upload it to our website).

I hope you enjoy it  :D

Saludos desde San sebastián