Dynamic graphs.......

Forum for english speaking users
Répondre
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Dynamic graphs.......

Message par peter »

Hello,
Is any one using this option for dynamic graphs and the http server?
If so can you please provide a link so I can see the graphs.
Thank you
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

Hi,

I think Marco uses this feature on this page:

http://marcodechaligny.free.fr/page_meteo/meteo_01.htm

See "Archives", it seems to be a bit long to load, probably a bandwidth issue.

Antoine.
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

Thank you Antoine,
I don't know why, but I was expecting something different, no problem I'm just trying to cut down on bandwidth use by uploading the graph image. I also upload a text file in "real time" from Weather Display, is there any way to use that for the graphs?
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

I'm not sur to understand want you want. Could you be more precise ?
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

I'm just trying to find a way to make dynamic charts and use this .txt file from WD (clientraw files). Your program can do dynamic in a different way. I appreciate your time and your program, it's very nice. What I had in mind was something like this http://www.syroswx.gr/chart_outside-temp.php this is flash, but.... and also I've made this http://www.syroswx.gr/gauges/ with another tool using the clientraw files because I couldn't modify your flash part, my experience with all this is very limited.
Thank you.
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

Yes with GraphWeather you can generate graphs and display html template dynamically.
For example, I have open my server and you can see a dynamic graph here (there is many option to select graph type, period, etc.):

http://titoine.no-ip.org/graphs
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

Good morning,
Antoine I couldn't connect to the above link this morning.
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

Try again, my computer was closed tonight.
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

Ok, your graphs are very very good and that's why I use them, but I just don't know how to get them update dynamically, is this graph update from your data.txt? or what source does it need to update? a sample of files needed to do that might give me an idea of how to do it. I can try to modify the files.
Thank you
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

When you click on the link above, your computer requests directly to my computer a graphics. My computer generates the graphic and send you back the result (the picture).

In modifying the request, as http://titoine.no-ip.org/graphs?startti ... modern.xml
You can choose the graphic type and the period, dynamically.
GW acts as a simple webserver that responds on simple requests.
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

Thank you Antoine,
I'll try to see if I can get it to work, not having a static IP is a problem, but will the $domain= accept a dyndns name? Also in the graphs.php in this line $location="http://".$_GET['domain'].":".$_GET['port']."/graphs?"; the path /graphs what files does it need to have?
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

The $domain should work with dyndns name. There is nothing to change in /graph because "graph" is a word understood by GW. There is also /records /stats /lastrecord to have other thing than graphics.
peter
Membre
Messages : 20
Inscription : mar. avr. 15, 2008 8:11 pm
Localisation : Greece
Contact :

Re: Dynamic graphs.......

Message par peter »

Ok, so I got it working, but after 2 or 3 requests for graphs I get this "GraphWeather.exe has encountered a problem and needs to close. We are sorry for the inconvenience." No problem, I'll play with it for a while to see if it's something my end.
Thank you Antoine
Peter
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Dynamic graphs.......

Message par TiToine »

This feature is possibly bugged because there is no many people using it, not well tested.
fikkaud
Membre
Messages : 34
Inscription : lun. févr. 05, 2007 10:22 pm

Re: Dynamic graphs.......

Message par fikkaud »

I'm using the server feature (2.0.152a) without any problems.
Currently I'm only using the graph feature. Since the stats have improved so much, I don't see the need for daily/monthly/yearly stats presented dynamically. Another reason is that I forgot to block the page for BOT/Spiders (after a rebuild of my site). My MySQL server was overloaded by too many queries when the BOTs hit my site. :evil:
Here are the graphs (daily/monthly) served by GW: http://vindkast.no/wx_grafer.php
I also intend to build it into the stats-pages with a thumbnail image on day/month pages to get graphs for that day/month. It will be a HighslideJS solution like I have on my mainpage (like the thumbs for webcam and GW-moonphase. I just love the way the images fly out and can be arranged whereever you want them :D

BTW I'm running plugin MySQL

greetings from Norway,
Audun
http://vindkast.no
Répondre