tendance temperature et pression

Une question, un bug ?
Répondre
steph17
Membre
Messages : 56
Inscription : mer. mars 25, 2009 3:39 pm
Localisation : Angliers (17)
Contact :

tendance temperature et pression

Message par steph17 »

Pour afficher la tendance j'ai contourné le problème en affichant directement une image, donc c'est bon j'obtient ce que je voulais
résultat ici : http://www.meteo17angliers.fr/meteo_en_direct.html

pour ceux que ça intéresse voici le code pour afficher la tendance de la température :
Image

<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="150" height="15" />
<!-- ================= Background ================= -->
<textbox width="150" height="15" shadow="0" position-x="0" position-y="0" margin="0">
<text alignement="2">
<line text="(Tendance : $Current[rate_outdoor_temperature] $Unit[Temperature] /h)" />
<font color="FF000000" size="15" weight="40" italic="0" />
</text>
<background color="FFFFFFFF" />
</textbox>
</stylesheet>


et voici le code pour afficher la variation de la pression sur 3/h :
Image

<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="160" height="15" />
<!-- ================= Background ================= -->
<textbox width="160" height="15" shadow="0" position-x="0" position-y="0" margin="0">
<text alignement="2">
<line text="(Variation sur 3h : $Current[var_relative_pressure] $Unit[Pressure])" />
<font color="FF000000" size="15" weight="40" italic="0" />
</text>
<background color="FFFFFFFF" />
</textbox>
</stylesheet>
Station Davis Vantage Pro2
http://www.meteo17angliers.fr
Image
Répondre