Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Mer Mai 08, 2024 5:32 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 3 message(s) ] 
Auteur Message
 Sujet du message: Problème de pluie :-)
MessagePublié: Mer Déc 01, 2010 9:36 pm 
Hors-ligne
Membre

Inscription : Mar Avr 20, 2010 2:32 pm
Message(s) : 41
Bonsoir,
Voici mon code et le résultat. Tout va bien si il y a une valeur différente de 0 mais si ce n'est pas le cas, les graphes totalement farfelus.
Merci de vos idées.

Code:
<!-- ================= Relative Rainfall ================= -->
<textbox width="320" height="20" shadow="0" position-x="10" position-y="661" margin="5" >
<background color="FF000000" stretch="0" />
<text alignement="vcenter|hcenter" >
<line text="Relative Rainfall (mm)" />
<font color="FFFFFFFF" facename="Arial" size="12" weight="800" italic="0" />
</text>
</textbox>
<lineplot width="318" height="180" shadow="0" position-x="11" position-y="680" margin-top="20" margin-right="15" margin-bottom="20" margin-left="30" >
<title text="$StartDate[%d/%m/%y]" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%H:%M" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="5" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<relative_rainfall axisbind="y1axis" legend="" color1="660000FF" antialiasing="1" hidelegend="1" thick="1"/>
</data>
<background color="FFCCCCCC" stretch="0" />
<graphbackground color="FFCCCCCC" texture="" />
<border cornerradius="0" color="FF000000" thick="1" />
</lineplot>
<!-- ================= Rainfall 1h ================= -->
<textbox width="320" height="20" shadow="0" position-x="340" position-y="661" margin="5" >
<background color="FF000000" stretch="0" />
<text alignement="vcenter|hcenter" >
<line text="Rainfall 1h (mm/h)" />
<font color="FFFFFFFF" facename="Arial" size="12" weight="800" italic="0" />
</text>
</textbox>
<lineplot width="318" height="180" shadow="0" position-x="340" position-y="680" margin-top="20" margin-right="15" margin-bottom="20" margin-left="30" >
<title text="$StartDate[%d/%m/%y]" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%H:%M" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="0" minorticks="0" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<rainfall_1h axisbind="y1axis" legend="" color1="FF009000" antialiasing="1" hidelegend="1" thick="1"/>
</data>
<background color="FFCCCCCC" stretch="0" />
<graphbackground color="FFCCCCCC" texture="" />
<border cornerradius="0" color="FF000000" thick="1" />
</lineplot>
<!-- ================= 24h Rainfall ================= -->
<textbox width="320" height="20" shadow="0" position-x="670" position-y="661" margin="5" >
<background color="FF000000" stretch="0" />
<text alignement="vcenter|hcenter" >
<line text="Rainfall 24h (mm)" />
<font color="FFFFFFFF" facename="Arial" size="12" weight="800" italic="0" />
</text>
</textbox>
<lineplot width="318" height="180" shadow="0" position-x="670" position-y="680" margin-top="20" margin-right="15" margin-bottom="20" margin-left="30" >
<title text="$StartDate[%d/%m/%y]" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="vcenter|hcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%H:%M" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="0" />
</labels>
<ticks majorticks="0" minorticks="0" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<rainfall_24h axisbind="y1axis" legend="" color1="FF009000" antialiasing="1" hidelegend="1" thick="1"/>
</data>
<background color="FFCCCCCC" stretch="0" />
<graphbackground color="FFCCCCCC" texture="" />
<border cornerradius="0" color="FF000000" thick="1" />
</lineplot>
Pièce jointe:
pluie.jpg


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Problème de pluie :-)
MessagePublié: Jeu Déc 02, 2010 10:11 am 
Hors-ligne
Membre

Inscription : Jeu Oct 14, 2010 12:24 pm
Message(s) : 41
J'ai testé rapidement le code mais je n'ai pas trouvé de graphes farfelus pour des périodes sans pluie. Dsl.

_________________
Jean-François
-------------------------
Windows 7 64 bits
XNet_Météo 2011-10-14a
GW 3.0.15
WMR200
-------------------------


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Problème de pluie :-)
MessagePublié: Jeu Déc 02, 2010 4:50 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3145
Localisation : 34410 Sérignan - Languedoc
Bonsoir Pierre,
Ton fichier est incomplet, pourrais-tu mettre le TOTAL stp en pièce jointe ou en mode Code ?
Jean


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 3 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Bing [Bot] et 74 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
POWERED_BY
Traduction et support en françaisHébergement de site