affichage icone prevision dans banniere.....

Une question, un bug ?
Répondre
ERIC K
Membre
Messages : 37
Inscription : dim. avr. 27, 2008 10:05 pm

affichage icone prevision dans banniere.....

Message par ERIC K »

Bonjour à tous
j'ai un petit souci d'affichage de l'icone de prevision sur ma banniere !
en fait j'ai tjrs la meme icone qui s'affiche depuis des mois !
qq pourrait il m'aider svp ?
j'ai une vp2+ en direct avec wswin32 et graphweather ! derniere maj pour tous les logiciels !
merci d'avance
voici la banniere defectueuse....
Image
cordialement
Avatar de l’utilisateur
paaubert
Membre
Messages : 2624
Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :

Re: affichage icone prevision dans banniere.....

Message par paaubert »

Salut,
commence par mettre ton fichier xml en ligne, que l'on puisse voir si qui cloche.

La balise pour l'icône est :

texture="$WeatherForecast[Icon]

Slts
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
Image
ERIC K
Membre
Messages : 37
Inscription : dim. avr. 27, 2008 10:05 pm

Re: affichage icone prevision dans banniere.....

Message par ERIC K »

Voila pour les codes.....
@+

<?xml version="1.0" encoding="iso-8859-1"?>
<stylesheet>
<image width="500" height="100" />
<!-- ================= Background ================= -->
<frame width="500" height="100" position-x="0" position-y="0">
<background color="FF3333CC" />
<border cornerradius="5" color="" thick="1" />
</frame>
<!-- ================= Titre ================= -->
<textbox width="400" height="20" shadow="0" position-x="60" position-y="5" margin="0">
<text alignement="center">
<line text=" Malancourt la Montagne (57) - $CurrentDate[%d %B %Y à %Hh%M]" />
<font color="FF33CC00" size="17" weight="500" italic="1" />
</text>
</textbox>
<!-- ================= Texte tendance ================= -->
<textbox width="70" height="20" shadow="0" position-x="425" position-y="80" margin="0">
<text alignement="left">
<line text="Tendance" />
<font color="FFFFFFFF" size="15" weight="500" italic="1" />
</text>
</textbox>
<!-- ================= Données ================= -->
<textbox width="50" height="20" shadow="0" position-x="220" position-y="25" margin="0">
<text alignement="center">
<line text="Température" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="220" position-y="40" margin="0">
<text alignement="left">
<line text="$Current[outdoor_temperature]°" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="220" position-y="60" margin="0">
<text alignement="center">
<line text="Humidité relative" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="220" position-y="75" margin="0">
<text alignement="left">
<line text="$Current[outdoor_humidity]%" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="300" position-y="25" margin="0">
<text alignement="center">
<line text="Pression relative" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="300" position-y="40" margin="0">
<text alignement="left">
<line text="$Current[relative_pressure,6.1] $Unit[Pressure]" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="300" position-y="60" margin="0">
<text alignement="center">
<line text="Pluie du jour " />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="310" position-y="75" margin="0">
<text alignement="left">
<line text="$Stats[Day,TotalRainfall] mm" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<textbox width="70" height="20" shadow="0" position-x="120" position-y="40" margin="0">
<text alignement="center">
<line text="Vent Moyen" />
<font color="FFFFFFFF" size="12" weight="200" italic="1" />
</text>
</textbox>
<textbox width="450" height="40" shadow="0" position-x="120" position-y="55" margin="0">
<text alignement="left">
<line text="$Current[wind_speed] $Unit[Speed]" />
<font color="FFFFFF84" facename="Comic sans ms" size="20" weight="600" italic="0" />
</text>
</textbox>
<circulargauge width="70" height="70" shadow="0" orientation="1" position-x="20" position-y="15" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<axis color="FFFFFFFF" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;NO;O;SO;S;SE;E;NE" labelinterval="1" side="1" hide="0">
<font color="FFFFFF84" facename="Comic sans ms" size="11" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>

<current_wind_direction color1="FFCCCC00" />
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<gaugebackground color="00000000" texture="" />
</circulargauge>

!-- ================= Icon ================= -->
<frame width="75" height="75" position-x="420" position-y="3">
<background color="ff0000ff" texture="$WeatherForecast[Icon]" stretch="1" />
</frame>
</stylesheet>
Avatar de l’utilisateur
paaubert
Membre
Messages : 2624
Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :

Re: affichage icone prevision dans banniere.....

Message par paaubert »

Bon c'est bizarre, chez moi elle fonctionne ta bannière.

Image
Image
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
Image
jmj41
Membre
Messages : 31
Inscription : dim. janv. 31, 2010 9:02 am
Contact :

Re: affichage icone prevision dans banniere.....

Message par jmj41 »

C'était déjà arrivé à un autre membre du forum, je ne sais pas comment il avait résolu le problème.
Avatar de l’utilisateur
paaubert
Membre
Messages : 2624
Inscription : dim. janv. 17, 2010 7:16 pm
Localisation : 1555 Villarzel - Switzerland
Contact :

Re: affichage icone prevision dans banniere.....

Message par paaubert »

Elle fonctionne maintenant ? Tu as un beau soleil
_________________________________________________________________________________________________________
Station Vantage Pro2+ avec station agricole - Weatherlink 6.0.3 - GraphWeather 3.0.15b - Cumulus 1.9.4 - Windows W10 ultimate x64
http://www.boock.ch/meteo-villarzel.php
Image
Répondre