Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Sam Avr 27, 2024 1:58 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 3 message(s) ] 
Auteur Message
MessagePublié: Sam Déc 18, 2010 12:48 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Ven Sep 11, 2009 9:50 am
Message(s) : 31
Localisation : Belgique
bonjour à tous,

Voici ma dernière création/modification :

Image

Je souhaiterai profiter de l'exactitude des données de ma VP2 et donc afficher sur mon graphique les UV en dixième (0,0) et pas au nombre entier et en revanche réduire au nombre entier le rayonnement solaire :

Image

d'avance merci.

Voici le code :

Code :
<stylesheet>
<image width="450" height="420"/>
<!-- ================= Background ================= -->

<frame width="450" height="420" position-x="0" position-y="0">
<background color1="FF9999FF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="0" color="FF555555" thick="1"/>
</frame>
<!-- ================= Stats ================= -->

<textbox width="250" height="35" shadow="1" position-x="10" position-y="5" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="top|hcenter">
<line text="Station météo La Louvière, Davis VP2"/>
<line text=""/>
<font color="FF000000" facename="Comic Sans MS" size="16" weight="600" italic="0"/>
</text>
<background color="00000000" texture="tex_greengrad.png" stretch="1"/>
</textbox>
<!-- ================= direct ================= -->

<textbox width="250" height="95" shadow="1" position-x="10" position-y="45" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="left|top">
<line text="En direct à $CurrentDate[%Hh%M] - $CurrentDate[%a %d %b %Y]"/>
<line text=""/>
<font color="FF000000" facename="Comic Sans MS" size="15" weight="600" italic="0"/>
</text>
<background color="00000000" texture="tex_greengrad.png" stretch="1"/>
</textbox>

<textbox width="250" height="175" shadow="1" position-x="10" position-y="75" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="left|top">
<line text="Pression relative : \t$Current[relative_pressure] $Unit[Pressure]"/>
<line text="Humidité extérieure :\t $Current[outdoor_humidity] %"/>
<line text="Point de rosée :\t\t $Current[dew_point] $Unit[Temperature]"/>
<line text="Facteur vent : \t\t$Current[wind_chill] $Unit[Temperature]"/>
<line text=""/>
<line text="Indice UV :\t\t$Current[uv_index] "/>
<line text="Ensoleillement :\t\t$Current[solar_radiation]  W / m²"/>
<line text=""/>
<line text="Vitesse du vent : \t$Current[wind_speed] $Unit[Speed]"/>
<line text="Pluie aujourd'hui : \t$Stats[Day,TotalRainfall] $Unit[Rainfall]"/>
<font color="FF000000" facename="Comic Sans MS" size="15" weight="400" italic="0"/>
</text>
</textbox>
<!-- ================= mini maxi ================= -->

<textbox width="250" height="95" shadow="1" position-x="10" position-y="255" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="left|top">
<line text="Mini et Maxi du jour :"/>
<line text=""/>
<font color="FF000000" facename="Comic Sans MS" size="16" weight="600" italic="0"/>
</text>
<background color="00000000" texture="tex_greengrad.png" stretch="1"/>
</textbox>

<textbox width="250" height="130" shadow="1" position-x="10" position-y="285" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="left|top">
<line text="Température mini : $Min[outdoor_temperature] $Unit[Temperature]\t à $MinDate[outdoor_temperature,%Hh%M]"/>
<line text="Température maxi : $Max[outdoor_temperature] $Unit[Temperature]\t à $MaxDate[outdoor_temperature,%Hh%M]"/>
<line text="Vitesse maxi du vent : $Max[wind_speed] $Unit[Speed] à  $MaxDate[wind_speed,%Hh%M]"/>
<line text="Rafale maxi du vent : $Max[wind_gust] $Unit[Speed] à  $MaxDate[wind_gust,%Hh%M]"/>
<line text=""/>
<line text="Indice UV maxi :\t$Max[uv_index] \t $MaxDate[uv_index,à %Hh%M]"/>
<line text="Rayonnement maxi :$Max[solar_radiation]  W / m²  $MaxDate[solar_radiation,à %Hh%M]"/>
<line text=""/>
<font color="FF000000" facename="Comic Sans MS" size="15" weight="400" italic="0"/>
</text>
</textbox>

<textbox width="160" height="40" shadow="1" position-x="275" position-y="135" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="4">
<line text="$Current[outdoor_temperature] $Unit[Temperature]"/>
<font color="FF000000" facename="Comic Sans MS" size="26" weight="600" italic="0"/>
</text>
<background color="00000000"/>
</textbox>
<!-- ================= prevision ================= -->

<textbox width="160" height="80" shadow="1" position-x="275" position-y="335" margin="10">
<background color1="FFAAAAFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" stretch="1"/>
<border cornerradius="10" color="FF999999" thick="1"/>

<text alignement="4">
<line text="Prévision à 12h :                  "/>
<line text=""/>
<line text=""/>
<line text="$WeatherForecast[Comment]"/>
<font color="FF000000" facename="Comic Sans MS" size="16" weight="400" italic="0"/>
</text>
<background color="00000000"/>
</textbox>
<!-- ================= Icon ================= -->

<frame width="128" height="128" position-x="290" position-y="5">
<background color="ff0000ff" texture="$WeatherConditions[Icon]" stretch="1"/>
</frame>

<frame width="36" height="36" position-x="340" position-y="360">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1"/>
</frame>
<!-- ================= Webcam 1 ================= -->

<frame width="180" height="135" position-x="265" position-y="190" shadow="0">
<background reload-texture="300" texture="http://www.meteo-lalouviere.be/cam_1.jpg" color1="FF0000FF" color2="FFFFFFFF" gradient="1" fill="1" fill-direction="130" stretch="1"/>
<border cornerradius="20" color="FF000000" thick="1.3"/>
</frame>
</stylesheet>

_________________
Davis VP II / WeatherLink + GW

Image

Météo La Louvière : CliC


Dernière édition par david36 le Mer Déc 22, 2010 1:59 pm, édité 1 fois.

Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Déc 18, 2010 1:42 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
Bonjour David,

<line text="Indice UV maxi :\t$Max[uv_index,.1] \t $MaxDate[uv_index,à %Hh%M]"/>
<line text="Rayonnement maxi :$Max[solar_radiation,.0] ] W / m² $MaxDate[solar_radiation,à %Hh%M]"/>
C'est quelque chose comme ça que tu veux ?

Jean


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Déc 18, 2010 1:57 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Ven Sep 11, 2009 9:50 am
Message(s) : 31
Localisation : Belgique
merci jturlier

Le bon week. :)

edit : impec, merci encore de cette astuce, j'en ai profité pour modifier mes autres graphiques. :=)

_________________
Davis VP II / WeatherLink + GW

Image

Météo La Louvière : CliC


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 32 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