Bonjour à tous,
Quelques soucis avec l'affichage de la pluie annuelle concernant les mois de Janvier et Février 2015
DONNEES:
Janvier 2015 : 96.5 mm
Février 2015 : 60.9 mm
Mars 2015 : 12.3 mm
Pour affichage des pluies annuelles dans le site j'utilise : pluviometrie_compare.xml
provenant du pack de P.A.Aubert : site_model.zip
Merci d'avance de vos informations
Cordialement
Michel dit Boucher
Affichage graph Pluie Annuelle
-
- Membre
- Messages : 202
- Inscription : dim. mai 14, 2006 11:45 am
- Localisation : Croisette (62)
- Contact :
Affichage graph Pluie Annuelle
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
OS : Windows 10 Professional
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
- MAGNUS
- Membre
- Messages : 992
- Inscription : dim. mars 26, 2006 4:44 pm
- Localisation : VIDAUBAN (83) FRANCE
- Contact :
Re: Affichage graph Pluie Annuelle
Bonjour,
Regarde dans ton fichier xml (graphe de l'année en cours) une ligne qui ressemble à cela :
<y1axis color="FF0000FF" grid="0" autoscale="1" min="0" max="1400" y-base="0.0" titleside="left" titlemargin="25">
Dans ce cas il faut mettre en max un chiffre supérieure au total pluie
N'oublie pas de corriger (par tâtonnement) les intervalles en recherchant la ligne ressemblant à ceci :
<ticks majorticks="11" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
Sinon, mettre autoscale="1" et là l’échelle sera automatique quelque soit le mini et maxi
Si tu n'y arrive pas recontacte-moi.
Cordialement.
Regarde dans ton fichier xml (graphe de l'année en cours) une ligne qui ressemble à cela :
<y1axis color="FF0000FF" grid="0" autoscale="1" min="0" max="1400" y-base="0.0" titleside="left" titlemargin="25">
Dans ce cas il faut mettre en max un chiffre supérieure au total pluie
N'oublie pas de corriger (par tâtonnement) les intervalles en recherchant la ligne ressemblant à ceci :
<ticks majorticks="11" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
Sinon, mettre autoscale="1" et là l’échelle sera automatique quelque soit le mini et maxi
Si tu n'y arrive pas recontacte-moi.
Cordialement.
Station WMR 200 avec XNet_meteo V 2014-10-29a Logiciels:Graphweather V 3.0.16, Noaa Template2, Windows 7
Mon abri météo ici :http://www.vardecouverte.fr/sta%20bc2008.htm
Site Web : http://www.vardecouverte.fr

Mon abri météo ici :http://www.vardecouverte.fr/sta%20bc2008.htm
Site Web : http://www.vardecouverte.fr

-
- Membre
- Messages : 202
- Inscription : dim. mai 14, 2006 11:45 am
- Localisation : Croisette (62)
- Contact :
Re: Affichage graph Pluie Annuelle
Bonjour,
Merci de me dépanner avec tes conseils.
J'ai tenté en vain de modifier le script mais problème, il n'accepte pas les modifications !!!
la ligne de commande se présente comme ceci :
j'ai mis autoscale="1" , max ="100" mais aucune modification
Je te met ci a-après la copie du script :
Encore Merci de ton intervention.
Cordialement
Michel dit Boucher
Merci de me dépanner avec tes conseils.
J'ai tenté en vain de modifier le script mais problème, il n'accepte pas les modifications !!!
la ligne de commande se présente comme ceci :
Code : Tout sélectionner
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="1000" y-base="0.0" titleside="left" titlemargin="25">
Je te met ci a-après la copie du script :
Code : Tout sélectionner
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="750" />
<frame width="900" height="750" position-x="0" position-y="0" shadow="0">
<title text="" alignement="3" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFFFFFFF" color2="FF79BCFF" texture="condensation.jpg" stretch="1" gradient="1" gradient-direction="90" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= pluie annuelle depuis 2014 ================= -->
<bargraph width="235" height="700" shadow="0" position-x="0" position-y="35" margin-top="0" margin-right="20" margin-bottom="30" margin-left="40">
<xaxis color="FF000000" grid="1" autoscale="1" min="0" max="0">
<labels labelinterval="1" angle="90" side="left" hide="0" format="%Y">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="100" y-base="0.0" titleside="left" titlemargin="25">
<title text="Précipitations ($UNIT[RAINFALL])" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Arial" size="10" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="21" minorticks="1" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_full_totalrainfall axisbind="y1axis" legend=" PRECIPITATIONS (en mm) DEPUIS 2014" color1="FF80FFFF" color2="FF0000FF" gradient="horizontal" antialiasing="1" filled="1" />
<threshold axisbind="y1axis" legend="Normales annuelles / mensuelles" color1="FFFF0000" value="850" thick="1.0"/>
</data>
<legend orientation="0" margin="3" width="300" position-x="-34" position-y="0" hide="0" shadow="0">
<font color="FF0000FF" facename="Arial" size="13" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= mois en cours ================= -->
<bargraph width="750" height="380" shadow="0" position-x="200" position-y="30" margin-top="40" margin-right="70" margin-bottom="50" margin-left="65">
<xaxis color="FF0000FF" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="20" angle="0">
<font color="FF0062C4" facename="Arial" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%d" side="2" hide="0">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="32" minorticks="0" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="1" min="0" max="40" y-base="0.0" titleside="left" titlemargin="35">
<title text="Précipitations ( $Unit[Rainfall] )" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Time new roman" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="9" minorticks="1" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_month_totalrainfall axisbind="y1axis" legend="" color1="FF0000FF" color2="FF80FFFF" antialiasing="1" filled="1" />
</data>
<legend orientation="0" margin="5" width="765" position-x="300" position-y="35" hide="0" shadow="0">
<font color="FF0000FF" facename="Time new roman" size="18" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= Cumule sur la période mois================= -->
<textbox width="500" height="30" shadow="0" position-x="300" position-y="35" margin="5" >
<border cornerradius="10" color="55555555" thick="1" />
<text alignement="center">
<line text="Cumul des précipitations sur le mois en cours : $Stats[Month,TotalRainfall] $UNIT[RAINFALL]"/>
<font color="FF0000FF" facename="Comic Sans MS" size="20" weight="400" italic="0" />
</text>
<background color1="FFFFFFFF" color2="FF79BCFF" gradient="1" gradient-direction="90" />
</textbox>
<textbox width="470" height="50" position-x="595" position-y="725" >
<text>
<font color="FF0000FF" facename="Time new roman" size="12" weight="400" italic="0" />
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n" alignement="vcenter|hcenter"/>
</text>
<background color1="" color2="" gradient="1" gradient-direction="180" stretch="1" />
</textbox>
<textbox width="450" height="50" position-x="450" position-y="0" >
<text>
<font color="FF0000FF" facename="Comic Sans MS" size="26" weight="600" italic="0" />
<line text=" PRECIPITATIONS " alignement="vcenter|hcenter"/>
</text>
<background color1="" color2="" gradient="1" gradient-direction="180" stretch="1" />
</textbox>
<!-- ================= annee en cours ================= -->
<bargraph width="750" height="390" shadow="0" position-x="200" position-y="363" margin-top="40" margin-right="70" margin-bottom="50" margin-left="65">
<xaxis color="FF0000FF" grid="1" autoscale="0" min="0" max="0">
<labels labels="Janv.;Fév.;Mars;Avril;Mai;Juin;Juil.;Août;Sep.;Oct.;Nov.;Déc." labelinterval="1" angle="0" side="left" hide="0">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="150" y-base="0" titleside="left" titlemargin="35">
<title text="Précipitations ( $Unit[Rainfall] )" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Arial" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="11" minorticks="1" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_year_totalrainfall axisbind="y1axis" legend="" color1="FF0000FF" color2="FF80FFFF" antialiasing="1" filled="1" />
</data>
<legend orientation="0" margin="3" width="500" position-x="300" position-y="380" hide="0" shadow="0">
<font color="FF0000FF" facename="Time new roman" size="18" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= Cumule sur la période année================= -->
<textbox width="520" height="30" shadow="0" position-x="300" position-y="380" margin="5" >
<border cornerradius="10" color="55555555" thick="1" />
<text alignement="center">
<line text="Cumul des précipitations sur l'année en cours : $Stats[Year,TotalRainfall] $UNIT[RAINFALL]"/>
<font color="FF0000FF" facename="Comic Sans MS" size="20" weight="400" italic="0" />
</text>
<background color1="FFFFFFFF" color2="FF79BCFF" gradient="1" gradient-direction="90" />
</textbox>
</stylesheet>
Cordialement
Michel dit Boucher
OS : Windows 10 Professional
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
- domidom81
- Membre
- Messages : 477
- Inscription : mer. févr. 18, 2009 1:34 pm
- Localisation : Lagarrigue 81 (Tarn France)
- Contact :
Re: Affichage graph Pluie Annuelle
Salut,
Voila les miennes
<y1axis color="FF0000FF" grid="1" autoscale="1" min="0" max="1000" y-base="0.0" titleside="left" titlemargin="25">
<ticks majorticks="11" minorticks="4" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
Les modifs peuvent se faire avec notepad++ sans pb ?
Voila les miennes
<y1axis color="FF0000FF" grid="1" autoscale="1" min="0" max="1000" y-base="0.0" titleside="left" titlemargin="25">
<ticks majorticks="11" minorticks="4" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
Les modifs peuvent se faire avec notepad++ sans pb ?
Station VP2-IP + WebCam sur IC Lagarrigue81 Weatherlink 6555 (V 6.0.2)
Site Station VantagePro2+WebCam Foscam FI9805W (GW V3.0.15) Win10x64 Pc HP

Site Station VantagePro2+WebCam Foscam FI9805W (GW V3.0.15) Win10x64 Pc HP

- paaubert
- Membre
- Messages : 2624
- Inscription : dim. janv. 17, 2010 7:16 pm
- Localisation : 1555 Villarzel - Switzerland
- Contact :
Re: Affichage graph Pluie Annuelle
Bonsoir.
Le problème de Michel n'est pas lié à l'échelle des valeurs Y, sur son graphique il a plus de 160 mm alors qu'en réalité pour le mois de janvier il a 96.5 mm.
La feuille de style n'est pas en cause, c'est ses données qui ont un problème.
On voit bien ici
http://lecourtilauxepines.eu/NOAAcompar ... =r_mensuel
que la pluviométrie est de 96.5 mm
Ce qui est étrange c'est que le script de Jean pour les comparaisons s'appuie sur les mêmes fichiers que les graphiques GW.
Essaye quand même un régénération des statistiques depuis le début de l'année.
Michel, pourquoi ne passe tu pas tous en graphiques Highcharts de puis ta bdd ???
Par exemple pour la pluvio http://www.boock.ch/meteo/graphiques_dy ... _jours.php
A+
Le problème de Michel n'est pas lié à l'échelle des valeurs Y, sur son graphique il a plus de 160 mm alors qu'en réalité pour le mois de janvier il a 96.5 mm.
La feuille de style n'est pas en cause, c'est ses données qui ont un problème.
On voit bien ici
http://lecourtilauxepines.eu/NOAAcompar ... =r_mensuel
que la pluviométrie est de 96.5 mm
Ce qui est étrange c'est que le script de Jean pour les comparaisons s'appuie sur les mêmes fichiers que les graphiques GW.
Essaye quand même un régénération des statistiques depuis le début de l'année.
Michel, pourquoi ne passe tu pas tous en graphiques Highcharts de puis ta bdd ???
Par exemple pour la pluvio http://www.boock.ch/meteo/graphiques_dy ... _jours.php
A+
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php

Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php

-
- Membre
- Messages : 202
- Inscription : dim. mai 14, 2006 11:45 am
- Localisation : Croisette (62)
- Contact :
Re: Affichage graph Pluie Annuelle
Bonjour Pierre André,
J'ai rechargé sans succès les statistiques ....
Toujours le même affichage.
Je rechercherai localement la cause sur le site d'essai.
J'ai donc suivi tes conseils en utilisant les graphiques à l'aide de Highcharts
sur le site externe :
http://lecourtilauxepines.eu/pluie_annee.php
Actuellement , j'ai installé les scripts du paquet CumulusMx en essai sur :
http://lecourtilauxepines.eu/ternois/index.htm
Ces scripts non traduits sont en langage html , donc utilisable sur les
sites n'acceptant pas le .php
Les graphiques utilisent Highcharts et le langage javascript
En cours, ici création des scripts traduit en français et utilisation de Boostrap
pour la création des pages.
Cordialement
Michel
J'ai rechargé sans succès les statistiques ....
Toujours le même affichage.
Je rechercherai localement la cause sur le site d'essai.
J'ai donc suivi tes conseils en utilisant les graphiques à l'aide de Highcharts
sur le site externe :
http://lecourtilauxepines.eu/pluie_annee.php
Actuellement , j'ai installé les scripts du paquet CumulusMx en essai sur :
http://lecourtilauxepines.eu/ternois/index.htm
Ces scripts non traduits sont en langage html , donc utilisable sur les
sites n'acceptant pas le .php
Les graphiques utilisent Highcharts et le langage javascript
En cours, ici création des scripts traduit en français et utilisation de Boostrap
pour la création des pages.
Cordialement
Michel
OS : Windows 10 Professional
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.eu
http://lecourtilauxepines.pagesperso-orange.fr