Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Jeu Mars 28, 2024 11:48 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 3 message(s) ] 
Auteur Message
 Sujet du message: Graph pour UV
MessagePublié: Ven Août 19, 2016 9:43 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 09, 2016 9:27 pm
Message(s) : 39
Bonsoir,

Après avoir enfin réussi à faire un fichier XML pour ma température intérieure, j'aimerais en avoir un pour les UV.
J'essaie, mais en vain, je n'arrive pas à afficher une courbe.
J'affiche le max avec l'heure mais c'est tout.
Si une âme charitable pour m'aider.... ou me transmettre un XML dédié au UV, je l'en remercie.

Je crois avoir trouvé, si quelqu'un de calé sur le sujet peux regarder mon code, je suis pas trop sur de moi.

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="left|top" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFBBBBFF" color2="FF3B3B3B" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="880" height="300" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="20" margin-bottom="40" margin-left="65">
<xaxis color="FFFFFFFF" 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="1" />
</title>
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FFFFFFFF" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FFFFFFFF" grid="1" autoscale="1" min="0" max="0" titleside="top" titlemargin="35">
<title text="Indice UV " alignement="vcenter|hcenter" angle="0">
<font color="FFFFFFFF" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FFFFFFFF" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="4" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>

<uv_index axisbind="y1axis" legend="Indice UV" color1="FFFF0000" antialiasing="1" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="795" position-x="75" position-y="20" hide="0" shadow="0">
<font color="FFFFFFFF" facename="Arial" size="20" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color1="FFBBBBFF" color2="FF3B3B3B" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FF3B3B3B" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="820" height="230" shadow="0" position-x="70" position-y="320" margin="20" >
<border cornerradius="0" color="55555555" thick="1" />
<text alignement="left|top">
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n"/>
<line text="Du $StartDate[%A %d %B %Y à %Hh%M]"/>
<line text="Au $StopDate[%A %d %B %Y à %Hh%M]"/>
<line text=""/>

<line text=""/>

<line text="Indice UV max. :\t\t $Max[uv_index,3.1]\t\t\tle $MaxDate[uv_index,%d %b %Y à %Hh%M]" />


<font color="FFFFFFFF" facename="Arial" size="20" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FF3B3B3B" gradient="1" gradient-direction="90" />
</textbox>

<textbox width="62" height="230" shadow="0" position-x="10" position-y="320" margin="0" >
<border cornerradius="0" color="55555555" thick="1" />
<text text="Statistiques" alignement="relative" angle="90">
<font color="FFFFFFFF" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FF3B3B3B" gradient="1" gradient-direction="180" />
</textbox>
</stylesheet>

_________________
Oregon WMR200 + 1 sonde UV
XNet + GraphWeather 3

http://ouroux.meteo.free.fr


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph pour UV
MessagePublié: Ven Août 19, 2016 10:07 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mer Fév 18, 2009 1:34 pm
Message(s) : 477
Localisation : Lagarrigue 81 (Tarn France)
Salut,
Je t'es envoyé un mp.
Sinon moi j'ai cela qui doit te convenir.

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="left|top" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="880" height="300" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="20" margin-bottom="40" margin-left="65">
<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="1" />
</title>
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="0" min="0" max="8" titleside="1" titlemargin="35">
<title text="Indice UV" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="2" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="2" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<uv_index axisbind="y1axis" legend="Indice UV" color1="44FFFF00" color2="44FF0000" antialiasing="1" filled="1" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="795" position-x="75" position-y="20" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="820" height="230" shadow="0" position-x="70" position-y="320" margin="20" >
<border cornerradius="0" color="55555555" thick="1" />
<text alignement="left|top">
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n"/>
<line text="Du $StartDate[%A %d %B %Y à %Hh%M]"/>
<line text="Au $StopDate[%A %d %B %Y à %Hh%M]"/>
<line text=""/>
<line text="\t\t\t\tMini\t\t\t\t\tMaxi\t\t\t\tMoyenne"/>
<line text=""/>
<line text="Indice UV :\t\t $Min[uv_index] uv - $MinDate[uv_index,%d %b %Y à %Hh%M]\t\t$Max[uv_index] uv - $MaxDate[uv_index,%d %b %Y à %Hh%M]\t\t$Mean[uv_index] uv"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</textbox>

<textbox width="62" height="230" shadow="0" position-x="10" position-y="320" margin="0" >
<border cornerradius="0" color="55555555" thick="1" />
<text text="Statistiques" alignement="relative" angle="90">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="180" />
</textbox>
</stylesheet>

_________________
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
Image


Haut
 Profil  
Répondre en citant  
 Sujet du message: Re: Graph pour UV
MessagePublié: Ven Août 19, 2016 10:21 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 09, 2016 9:27 pm
Message(s) : 39
Ok merci Domidom.

je t'ai répondu en MP, merci de ton aide

_________________
Oregon WMR200 + 1 sonde UV
XNet + GraphWeather 3

http://ouroux.meteo.free.fr


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 : Aucun utilisateur inscrit et 22 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 :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site