Author Topic: create a climate graph RESOLVED  (Read 1981 times)

0 Members and 1 Guest are viewing this topic.

Offline m77

  • Forecaster
  • *****
  • Posts: 878
create a climate graph RESOLVED
« on: December 03, 2010, 02:45:15 PM »
I have created twelve php scripts to work out data from each month on record.

eg www.maidenerleghweather.com/alljan.php

replace Jan with the first three letters of each month to find the web addresses of the other eleven.

how could I show this temp and or rainfall in graphical form on my site.

I have jp graphs but no clue about it what so ever.
« Last Edit: December 04, 2010, 09:58:53 AM by m77 »
Weatherlink ip, Vantage Vue,

Offline BfdWx

  • WxElement panel
  • Senior Contributor
  • *****
  • Posts: 255
    • Branford Weather
Re: create a climate graph
« Reply #1 on: December 03, 2010, 06:35:44 PM »
Many of this type of scripts are already written by the php guru's here and on the "weather-watch" forum. I use a fusion charts version which can be found here....http://www.weather-watch.com/smf/index.php/topic,44008.0.html

They look like this on my site.....http://stillweather.com/nugraphs-temp.php

There are others that use jp graphs too, a quick search should help you out.

Regards,

Jack

Offline m77

  • Forecaster
  • *****
  • Posts: 878
Re: create a climate graph
« Reply #2 on: December 04, 2010, 01:59:32 AM »
thanks for that.

I was specifically after something that plotted twelve points, one per month.

any ideas?

edit.... I have discovered PHPlot

this seems to use data created by php rather than reading text files, which seems perfect.

has anyone got examples for weather data of this script?

I am particularly interested if it can plot a line and bars on the same graph??????
« Last Edit: December 04, 2010, 03:25:25 AM by m77 »
Weatherlink ip, Vantage Vue,

Offline m77

  • Forecaster
  • *****
  • Posts: 878
Re: create a climate graph RESOLVED
« Reply #3 on: December 04, 2010, 10:01:03 AM »
pretty pleased.

work in progress with dummy data at

www.maidenerleghweather.com/phplot/graph.php

Weatherlink ip, Vantage Vue,

Offline m77

  • Forecaster
  • *****
  • Posts: 878
Re: create a climate graph RESOLVED
« Reply #4 on: December 06, 2010, 02:10:47 PM »
and the final version which auto updates itself:

http://www.maidenerleghweather.com/graph.php


Weatherlink ip, Vantage Vue,