Comment faire pour ajouter les rafales de vent dans "report" ?
L'image se trouve en haut et à droite de la page d'accueil de mon site http://www.meteo-pierre-benite.com.
Je souhaite de bonnes fêtes à toutes et tous.
René
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="440" height="270" />
<background color="FF#99CCFF"/>
<!-- ================= Frame ================= -->
<frame width="440" height="270" position-x="0" position-y="0" shadow="0">
<background texture="tex_pbinstan.png" stretch="1" />
</frame>
<!-- ================= Stats ================= -->
<textbox width="440" height="270" shadow="0" position-x="80" position-y="0" margin="10">
<text alignement="2" text="Nous sommes le \n$CURRENT_DATE[%A %d %B %Y à %Hh%M]">
<font color="FF5555BB" facename="Comic sans ms" size="26" weight="800" italic="0" />
</text>
<background color="FF#99CCFF"/>
</textbox>
<textbox width="420" height="270" shadow="0" position-x="80" position-y="0" margin="0">
<text alignement="3">
<line text="\n\n\n"/>
<line text= "Pression relative : $CURRENT[relative_pressure] $UNIT[PRESSURE]"/>
<line text="Humidité exterieure : $CURRENT[outdoor_humidity] %"/>
<line text="Point de rosée : $CURRENT[dew_point] $UNIT[TEMPERATURE]"/>
<line text="Facteur vent : $CURRENT[wind_chill] $UNIT[TEMPERATURE]"/>
<line text="Facteur humidex : $CURRENT[heat_index] $UNIT[TEMPERATURE]"/>
<line text="Vitesse du vent : $CURRENT[wind_speed] $UNIT[SPEED]"/>
<line text="Pluie depuis 24 h : $CURRENT[absolute_rainfall] $UNIT[RAINFALL]"/>
<line text="Pluie depuis 1h : $CURRENT[rainfall_1h] $UNIT[RAINFALL]"/>
<font color="FF000000" facename="Comic sans ms" size="18" weight="600" italic="0" />
</text>
<background color="FF#99FFFF"/>
</textbox>
<!-- ================= Jauge Temperature exterieure ================= -->
<lineargauge width="130" height="270" shadow="0" orientation="1" position-x="1" position-y="0" margin-top="20" margin-right="9" margin-bottom="55" margin-left="11">
<title text="$CURRENT[outdoor_temperature] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.47" position-y="0.93">
<font color="FFCC0000" facename="Comic sans ms" size="30" weight="800" italic="0" />
</title>
<axis color="FF000000" min="-10" max="30" side="4" titlemargin="30">
<labels labelinterval="1" side="2" hide="0">
<font color="FF555555" facename="Arial" size="14" weight="800" italic="0" />
</labels>
<ticks majorticks="5" minorticks="3" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_outdoor_temperature color1="FF3366FF" color2="FFFF0000" filled="1" side="2" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000"/>
<gaugebackground color="00000000"/>
</lineargauge>
<circulargauge width="100" height="100" shadow="0" orientation="1" position-x="320" position-y="145" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<axis color="FF000000" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;O;S;E" labelinterval="1" side="1" hide="0">
<font color="FF009933" facename="Comic sans ms" size="18" weight="800" italic="0" />
</labels>
<ticks majorticks="5" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="90FF0000" />
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<gaugebackground color="00000000" texture="" />
</circulargauge>
<!-- ================= Reflet jauge Temperature exterieure ================= -->
<frame width="440" height="270" position-x="0" position-y="0">
<background color="ff0000ff" texture="img_report2.png" stretch="1" />
</frame>
</stylesheet>
Complèter le stylesheet REPORT
- jturlier
- Membre
- Messages : 3149
- Inscription : mar. août 22, 2006 8:38 am
- Localisation : 34410 Sérignan - Languedoc
- Contact :
Re: Complèter le stylesheet REPORT
Bonsoir René,
il suffit que tu rajoutes la ligne
<line text="Rafales : $CURRENT[wind_gust] $UNIT[SPEED]"/>
où tu le souhaites en te débrouillant pour que tout tienne. (quitte à réduire d'un point la taille des caractères)
Bonne soirée et joyeuses fêtes à toutes et à tous
il suffit que tu rajoutes la ligne
<line text="Rafales : $CURRENT[wind_gust] $UNIT[SPEED]"/>
où tu le souhaites en te débrouillant pour que tout tienne. (quitte à réduire d'un point la taille des caractères)
Bonne soirée et joyeuses fêtes à toutes et à tous
Jean
Station : VP2 Pro Console Vue + anémomètre à Ultra-sons
Logiciels : Cumulus 1.9.4 + Cumulus2SQL
Serveur local : Apache + MySQL +PHP
PC : W10
Support Audio : FR
http://meteoserignan.ddns.net

"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"
Station : VP2 Pro Console Vue + anémomètre à Ultra-sons
Logiciels : Cumulus 1.9.4 + Cumulus2SQL
Serveur local : Apache + MySQL +PHP
PC : W10
Support Audio : FR
http://meteoserignan.ddns.net

"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"
Re: Complèter le stylesheet REPORT
Merci en te souhaitant d'agréables fêtes.jturlier a écrit :Bonsoir René,
il suffit que tu rajoutes la ligne
<line text="Rafales : $CURRENT[wind_gust] $UNIT[SPEED]"/>
où tu le souhaites en te débrouillant pour que tout tienne. (quitte à réduire d'un point la taille des caractères)
Bonne soirée et joyeuses fêtes à toutes et à tous