Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Dim Avr 28, 2024 10:43 am

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 11 message(s) ] 
Auteur Message
MessagePublié: Ven Sep 25, 2015 8:39 am 
Hors-ligne
Membre

Inscription : Sam Août 26, 2006 5:38 pm
Message(s) : 38
Localisation : Sandillon (45)
Bonjour à tous,

J'ai 2 soucis dans le fichier "gaugesVANTAGE.xml" qui sert à exporter une image sur mon site web : http://meteosandillon.free.fr/gauges.jpg

Le 1er souci est qu'il m"est impossible de mettre en minuscule le "à" dans les températures mini et maxi, quoique je fasse c'est en MAJ :
Voir un extrait du fichier :

<!-- ================= Min Outdoor Temperature ================= -->
<lineargauge width="130" height="300" shadow="0" orientation="1" position-x="140" position-y="80" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >

<title text="$MIN[outdoor_temperature] $UNIT[TEMPERATURE]\n $MINDATE[outdoor_temperature, à %Hh%M]" alignement="64" angle="0" position-x="0.42" position-y="0.88">

<font color="FF0000ff" facename="Lucida Sans Unicode" size="18" weight="500" italic="0" />
</title>

Le 2éme souci est l'apparition de 2 symboles (un qui se situe dans la pression atmosphérique au niveau de 1035, l'autre dans le vent (Un peu à droite de E en dehors de la jauge)

Ci-dessous les scripts du vent et de la pression, merci de vos réponses.
Laurent

<!-- ================= Wind speed direction ================= -->

-<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="610" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45">
<title text="Vitesse Actu $CURRENT[wind_speed] $UNIT[SPEED]\nVitesse Max $MAX[wind_gust] km/h\nWindchill $CURRENT[wind_chill] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.66">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0"/>
</title>
<axis color="FF000000" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;NNO;NO;ONO;O;OSO;SO;SSO;S;SSE;SE;ESE;E;ENE;NE;NNE" labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0"/>
</labels>
<ticks majorticks="17" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern4_300x300.png" stretch="1"/>
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="610" position-y="390" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<title text="Vent" alignement="64" angle="0" position-x="0.50" position-y="0.33">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0"/>
</title>
<title text="VitesseActu $CURRENT[wind_speed] $UNIT[SPEED]\nVitesse Max $MAX[wind_gust] km/h\nWindchill $CURRENT[wind_chill] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.66">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0"/>
</title>
</circulargauge>
<frame width="300" height="300" position-x="610" position-y="380">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1"/>
</frame>


<!-- ================= Relative Pressure ================= -->

<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="$CURRENT[relative_pressure] $UNIT[PRESSURE] \nMini $MIN[relative_pressure] $UNIT[PRESSURE]\nMaxi $MAX[relative_pressure] $UNIT[PRESSURE]" alignement="64" angle="0" position-x="0.51" position-y="0.70">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="FF000000" min="970" max="1050" titlemargin="50" titleside="1" fromangle="-45" toangle="225">
<labels labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="9" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern3_300x300.png" stretch="1" />
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="50" margin-right="50" margin-bottom="50" margin-left="50" >
<title text="Pression\n atmosphérique" alignement="64" angle="0" position-x="0.50" position-y="0.35">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0" />
</title>
</circulargauge>
<frame width="300" height="300" position-x="0" position-y="390">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>

_________________
Station Vantage Pro 2 6152
Graphweather 3.0.15
http://meteosandillon.free.fr/


Haut
 Profil  
Répondre en citant  
MessagePublié: Ven Sep 25, 2015 4:38 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
Bonsoir,
ce serait bien que tu mettes la feuille de style complète, car on ne voit pas la toute première ligne qui correspond à la version xml et à l'encodage.
Je te suggère de reprendre la feuille originale et de faire tes modifs une par une avec visualisation à chaque pas.
Quel éditeur utilises-tu ?

edit
$MINDATE[outdoor_temperature, à %Hh%M] c'est une utilisation anormale de la balise !!!!!
$MinDate[Probe, HFormat], il n'est pas prévu d'y rajouter du texte ! consulte la "liste des balises".
<title text="$Min[outdoor_temperature] $Unit[Temperature] à $MinDate[outdoor_temperature, %Hh%M]"......
Quelle version de GW utilises-tu ?
+ les noms de balises ne sont pas en majuscules

_________________
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
Image
"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"


Haut
 Profil  
Répondre en citant  
MessagePublié: Ven Sep 25, 2015 5:18 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
[quote="Lolo45"]
Le 2éme souci est l'apparition de 2 symboles (un qui se situe dans la pression atmosphérique au niveau de 1035, l'autre dans le vent (Un peu à droite de E en dehors de la jauge)
Réfléchis à majorticks !!!!! Est ce que tu sais à quoi ça correspond ? Si oui compte les sur ton graphique
<ticks majorticks="9" minorticks="9" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>

_________________
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
Image
"Aide-toi d'abord toi-même et les autres t'aideront ... peut-être"


Haut
 Profil  
Répondre en citant  
MessagePublié: Ven Sep 25, 2015 6:31 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Dim Jan 17, 2010 7:16 pm
Message(s) : 2624
Localisation : 1555 Villarzel - Switzerland
Salut
je pense que l'image de ton index n'existe pas ou que le chemin d'accès est faux

<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>


A+

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


Haut
 Profil  
Répondre en citant  
MessagePublié: Ven Sep 25, 2015 9:09 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
jturlier a écrit:
Réfléchis à majorticks !!!!! Est ce que tu sais à quoi ça correspond ? Si oui compte les sur ton graphique

C'est pour mes pieds ! je n'avais pas vu que tu avais modifié le maxi de l'échelle à 1050hPa, c'est peut-être ce qu'on peut avoir à la surface de la mer morte... et encore !


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Sep 26, 2015 8:54 am 
Hors-ligne
Membre

Inscription : Sam Août 26, 2006 5:38 pm
Message(s) : 38
Localisation : Sandillon (45)
Bonjour à tous et merci pour vos réponses rapides.
J'utilse GW 3.0.15 et Microsoft Expression web 4 comme éditeur.
Pour PA : le chemin d'accès est bon j'ai essayé avec une autre image, même souci.

Ci-dessous la feuille de style entière :

<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="920" height="920" />
<!-- ================= Image d'arrière plan ================= -->
<frame width="920" height="920" position-x="0" position-y="0">
<background color="FF0066CC" texture="Fondsecran2.jpg" stretch="1" />
<border cornerradius="0" color="00000000" thick="1" />
</frame>

<!-- ================= Time ================= -->
<textbox width="445" height="80" shadow="0" position-x="300" position-y="0" margin="10">
<text alignement="3" text="\t\n$CurrentDate[%A %d %B %Y à %Hh%M]">
<font color="FF0066CC" facename="Comic sans ms" size="30" weight="800" italic="0" />
</text>
<background color="00005500"/>
</textbox>
<!-- ================= Outdoor Temperature ================= -->
<lineargauge width="130" height="320" shadow="0" orientation="1" position-x="10" position-y="80" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >
<title text="$CURRENT[outdoor_temperature] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.47" position-y="0.86">
<font color="FF000000" facename="Lucida Sans Unicode" size="21" weight="500" italic="0" />
</title>
<axis color="FF000000" min="-20" max="40" side="4" titlemargin="20">
<title text="Température Exterieure" alignement="20" angle="180">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="500" italic="0" />
</title>
<labels labelinterval="1" side="2" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_outdoor_temperature color1="FF0000FF" color2="FFFF0000" filled="1" side="2" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="img_modern_thermo0_130x300.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="320" position-x="10" position-y="80">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />
</frame>
<!-- ================= Min Outdoor Temperature ================= -->
<lineargauge width="130" height="300" shadow="0" orientation="1" position-x="140" position-y="80" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >

<title text="$MIN[outdoor_temperature] $UNIT[TEMPERATURE]\n $MINDATE[outdoor_temperature, à %Hh%M]" alignement="64" angle="0" position-x="0.42" position-y="0.88">

<font color="FF0000ff" facename="Lucida Sans Unicode" size="18" weight="500" italic="0" />
</title>
<axis color="FF000000" min="-20" max="40" side="4" titlemargin="20">
<title text="Température Mini" alignement="20" angle="180">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="22" weight="500" italic="0" />
</title>
<labels labelinterval="1" side="2" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="3" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<stats_day_min_outdoor_temperature color1="FF0000FF" color2="FF80aee3" filled="1" side="2" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="img_modern_thermo0_130x300.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="300" position-x="140" position-y="80">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />

</frame>
<!-- =================Max Outdoor Temperature ================= -->
<lineargauge width="130" height="300" shadow="0" orientation="1" position-x="270" position-y="80" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >
<title text="$Max[outdoor_temperature] $Unit[TEMPERATURE]\n $MaxDate[outdoor_temperature, à %Hh%M]" alignement="64" angle="0" position-x="0.42" position-y="0.88">
<font color="FFFF0000" facename="Lucida Sans Unicode" size="18" weight="500" italic="0" />
</title>
<axis color="FF000000" min="-20" max="40" side="4" titlemargin="20">
<title text="Température Maxi" alignement="20" angle="180">
<font color="FFFF0000" facename="Lucida Sans Unicode" size="22" weight="500" italic="0" />
</title>
<labels labelinterval="1" side="2" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="14" weight="500" italic="1" />
</labels>
<ticks majorticks="7" minorticks="3" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<stats_day_max_outdoor_temperature color1="FFFF9900" color2="FFFF0000" filled="1" side="2" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="img_modern_thermo1_130x300.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="300" position-x="270" position-y="80">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />

</frame>

<!-- ================= Rainfall ================= -->
<frame width="345" height="300" position-x="405" position-y="80">
<title text="\nPrécipitations" alignement="5" angle="0" position-x="0.1" position-y="80.5">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="22" weight="500" italic="0" />
</title>
<background color="ff0000ff" texture="img_modern_square1_300x300_pluie.png" stretch="1" />
</frame>
<!-- ================= Absolute rainfall1 ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="440" position-y="100" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Annuel \n$Stats[Year,TotalRainfall] $Unit[Rainfall]" alignement="64" angle="0" position-x="0.95" position-y="0.92">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="66000000" min="0" max="1000" side="4" titlemargin="30" titleside="2">
<labels labelinterval="1" side="8" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="16" weight="400" italic="0" />
</labels>
<ticks majorticks="11" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="16" majorticksize="20"/>
</axis>
<index>
<stats_year_totalrainfall color1="500000FF" color2="500000FF" filled="1" reverse="0" side="8" thick="16" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>

<!-- ================= Absolute rainfall ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="510" position-y="100" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Mensuel \n$Stats[Month,TotalRainfall] $Unit[Rainfall]" alignement="64" angle="0" position-x="1.25" position-y="0.92">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="66000000" min="0" max="150" side="4" titlemargin="30" titleside="2">
<labels labelinterval="1" side="8" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="16" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="16" majorticksize="20"/>
</axis>
<index>
<stats_month_totalrainfall color1="500000FF" color2="500000FF" filled="1" reverse="0" side="8" thick="16" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<!-- ================= rainfall 24h ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="580" position-y="100" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Du jour \n$Stats[Day,TotalRainfall] $Unit[Rainfall]" alignement="64" angle="0" position-x="1.44" position-y="0.92">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="66000000" min="0" max="50" side="4" titlemargin="30" titleside="2">
<labels labelinterval="1" side="8" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="16" weight="400" italic="0" />
</labels>
<ticks majorticks="6" minorticks="3" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="16" majorticksize="20"/>
</axis>
<index>
<stats_day_totalrainfall color1="550000FF" color2="550000FF" filled="1" reverse="0" side="8" thick="16" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<!-- ================= rainfall 1h ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="650" position-y="100" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Sur 1h \n$Current[rainfall_1h] $Unit[Rainfall]" alignement="64" angle="0" position-x="1.41" position-y="0.92">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="66000000" min="0" max="40" side="4" titlemargin="30" titleside="2">
<labels labelinterval="1" side="8" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="16" weight="400" italic="0" />
</labels>
<ticks majorticks="5" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="16" majorticksize="20"/>
</axis>
<index>
<current_rainfall_1h color1="550000FF" color2="550000FF" filled="1" reverse="0" side="8" thick="16" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>


<!-- ================= Outdoor Humidity ================= -->
<lineargauge width="130" height="320" shadow="0" orientation="1" position-x="755" position-y="80" margin-top="26" margin-right="9" margin-bottom="77" margin-left="11" >
<title text="$CURRENT[outdoor_humidity] %\n" alignement="64" angle="0" position-x="0.47" position-y="0.86">

<font color="FF006633" facename="Lucida Sans Unicode" size="21" weight="400" italic="0" />
</title>
<axis color="FF000000" min="0" max="100" side="4" titlemargin="20">
<title text="Humidité Extérieure" alignement="20" angle="180">
<font color="FF006633" facename="Lucida Sans Unicode" size="22" weight="400" italic="0 " />
</title>
<labels labelinterval="1" side="2" hide="0">
<font color="FF000000" facename="Lucida Sans Unicode" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="11" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_outdoor_humidity color1="FF318CE7" color2="FFFF0000" filled="1" side="2" thick="9" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="ff0000ff" texture="img_modern_thermo0_130x300.png" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="130" height="320" position-x="755" position-y="80">
<background color="ff0000ff" texture="img_modern_thermo2_130x300.png" stretch="1" />
</frame>

<!-- ================= Wind speed direction ================= -->

-<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="610" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45">
<title text="Vitesse Actu $CURRENT[wind_speed] $UNIT[SPEED]\nVitesse Max $MAX[wind_gust] km/h\nWindchill $CURRENT[wind_chill] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.66">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0"/>
</title>
<axis color="FF000000" min="0" max="360" titlemargin="20" titleside="32" fromangle="90" toangle="450">
<labels labels="N;NNO;NO;ONO;O;OSO;SO;SSO;S;SSE;SE;ESE;E;ENE;NE;NNE" labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0"/>
</labels>
<ticks majorticks="17" minorticks="3" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_direction color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern4_300x300.png" stretch="1"/>
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="610" position-y="390" margin-top="0" margin-right="0" margin-bottom="0" margin-left="0">
<title text="Vent" alignement="64" angle="0" position-x="0.50" position-y="0.33">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0"/>
</title>
<title text="VitesseActu $CURRENT[wind_speed] $UNIT[SPEED]\nVitesse Max $MAX[wind_gust] km/h\nWindchill $CURRENT[wind_chill] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.66">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0"/>
</title>
</circulargauge>
<frame width="300" height="300" position-x="610" position-y="380">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1"/>
</frame>


<!-- ================= Relative Pressure ================= -->

<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="$CURRENT[relative_pressure] $UNIT[PRESSURE] \nMini $MIN[relative_pressure] $UNIT[PRESSURE]\nMaxi $MAX[relative_pressure] $UNIT[PRESSURE]" alignement="64" angle="0" position-x="0.51" position-y="0.70">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="FF000000" min="970" max="1050" titlemargin="50" titleside="1" fromangle="-45" toangle="225">
<labels labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="9" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern3_300x300.png" stretch="1" />
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="50" margin-right="50" margin-bottom="50" margin-left="50" >
<title text="Pression\n atmosphérique" alignement="64" angle="0" position-x="0.50" position-y="0.35">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0" />
</title>
</circulargauge>
<frame width="300" height="300" position-x="0" position-y="390">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>

<!-- ================= Solaire ================= -->
<frame width="315" height="300" position-x="302" position-y="390">
<title text="\nSolaire" alignement="5" angle="0" position-x="0.1" position-y="80.5">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="22" weight="500" italic="0" />
</title>
<background color="ff0000ff" texture="img_modern_square1_300x300_solaire_heure.png" stretch="1" />
</frame>


<!-- ================= Radiation solaire ================= -->

-<lineargauge height="250" width="25" position-y="410" position-x="385" shadow="0" margin-left="0" margin-bottom="42" margin-right="0" margin-top="34" orientation="1">
-<title position-y="0.90" position-x="0.47" alignement="relative" text="$Current[solar_radiation] (w/m²)" angle="0">
<font italic="1" weight="400" size="18" facename="Arial" color="FFFF6600"/>
</title>
-<axis color="66000000" titlemargin="30" side="left" max="1200" min="0" titleside="left">
-<labels side="right" hide="0" labelinterval="1">
<font italic="0" weight="400" size="16" facename="Arial" color="FF000000"/>
</labels>
<ticks side="right" hide="0" majorticksize="25" minorticksize="18" hideminorticks="0" hidelast="0" hidefirst="0" minorticks="3" majorticks="7"/>
</axis>
-<index>
<current_solar_radiation color2="44FF0000" color1="44FFFF00" thick="25" side="right" axisdelta="0" filled="1" reverse="0"/>
<stats_day_max_solar_radiation texture="img_modern5_120x40.png" thick="70" side="left" axisdelta="0"/>
</index>
<border color="FF000000" thick="0" cornerradius="0"/>
<background color="00000000" stretch="1"/>
<gaugebackground color="FF000000" texture=""/>

</lineargauge>
-<frame height="230" width="80" position-y="410" position-x="363">
<background color="ff0000ff" stretch="1" texture="img_modern5_300x300.png"/>
</frame>
-<frame height="300" width="300" position-y="390" position-x="310">
<background color="ff0000ff" stretch="1" texture="img_modern5_300x300.png"/>
</frame>

<!-- ================= Heures soleil ================= -->

-<lineargauge height="250" width="25" position-y="410" position-x="495" shadow="0" margin-left="0" margin-bottom="42" margin-right="0" margin-top="34" orientation="1">
-<title position-y="0.90" position-x="0.47" alignement="relative" text="Heures $Stats[Day,NbHoursOfSunshine] " angle="0">
<font italic="1" weight="400" size="18" facename="Arial" color="FFFF6600"/>
</title>
-<axis color="66000000" titlemargin="30" side="left" max="16" min="0" titleside="left">
-<labels side="right" hide="0" labelinterval="1">
<font italic="0" weight="400" size="16" facename="Arial" color="FF000000"/>
</labels>
<ticks side="right" hide="0" majorticksize="25" minorticksize="18" hideminorticks="0" hidelast="0" hidefirst="0" minorticks="1" majorticks="7"/>
</axis>
-<index>
<stats_day_nbhoursofsunshine color2="44FF0000" color1="44FFFF00" thick="25" side="right" axisdelta="0" filled="1" reverse="0"/>
</index>
<border color="FF000000" thick="0" cornerradius="0"/>
<background color="00000000" stretch="1"/>
<gaugebackground color="FF000000" texture=""/>
</lineargauge>
-<frame height="230" width="80" position-y="415" position-x="453">
<background color="ff0000ff" stretch="1" texture="img_modern5_300x300.png"/>
</frame>

<!-- ================= texte solaire ================= -->

-<frame height="128" width="128" position-y="465" position-x="305">
-<title position-y="0.0" position-x="0.0" alignement="relative" text="Radiation solaire" angle="90">
<font italic="1" weight="400" size="18" facename="Lucida Sans Unicode" color="FF000000"/>
</title>
</frame>
-<frame height="135" width="195" position-y="465" position-x="380">
-<title position-y="2.0" position-x="0.5" alignement="relative" text="Heures d'ensoleillement" angle="90">
<font italic="1" weight="400" size="18" facename="Lucida Sans Unicode" color="FF000000"/>
</title>

</frame>

</stylesheet>

_________________
Station Vantage Pro 2 6152
Graphweather 3.0.15
http://meteosandillon.free.fr/


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Sep 26, 2015 7:45 pm 
Hors-ligne
Membre

Inscription : Mer Sep 24, 2014 8:50 pm
Message(s) : 170
Localisation : Valreas 84600
bonjour
hors sujet, mais
j'adore tes deux pages climatologie
Alain

_________________
station Orégon WMR 200
logiciel Xnet version 2012-03-17a et Graphweather V 3.0.15
http://mapetitemeteo.esy.es/


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Sep 26, 2015 11:14 pm 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Dim Jan 17, 2010 7:16 pm
Message(s) : 2624
Localisation : 1555 Villarzel - Switzerland
ton problème d'image fantôme est parce que tu as mis deux fois la balise circulargauge, la première est juste, mais la seconde n'a aucune raison d'être et comme il n'y a rien d'indiqué comme dimension, il la crée en petit tas :lol:

<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="$CURRENT[relative_pressure] $UNIT[PRESSURE] \nMini $MIN[relative_pressure] $UNIT[PRESSURE]\nMaxi $MAX[relative_pressure] $UNIT[PRESSURE]" alignement="64" angle="0" position-x="0.51" position-y="0.70">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="FF000000" min="970" max="1050" titlemargin="50" titleside="1" fromangle="-45" toangle="225">
<labels labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="9" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern3_300x300.png" stretch="1" />
</circulargauge>

<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="50" margin-right="50" margin-bottom="50" margin-left="50" >
<title text="Pression\n atmosphérique" alignement="64" angle="0" position-x="0.50" position-y="0.35">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0" />
</title>
</circulargauge>

<frame width="300" height="300" position-x="0" position-y="390">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>

ton titre tu dois le mettre dans l'axe x

<title text="Pression\n atmosphérique" alignement="64" angle="0" position-x="0.50" position-y="0.35">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0" />
</title>


voilà le code juste

<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="0" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="$CURRENT[relative_pressure] $UNIT[PRESSURE] \nMini $MIN[relative_pressure] $UNIT[PRESSURE]\nMaxi $MAX[relative_pressure] $UNIT[PRESSURE]" alignement="64" angle="0" position-x="0.51" position-y="0.70">
<font color="FF000000" facename="Lucida Sans Unicode" size="18" weight="400" italic="0" />
</title>
<axis color="FF000000" min="970" max="1050" titlemargin="50" titleside="1" fromangle="-45" toangle="225">
<title text="Pression\n atmosphérique" alignement="64" angle="0" position-x="0.50" position-y="0.35">
<font color="FF000000" facename="Lucida Sans Unicode" size="22" weight="400" italic="0" />
</title>
<labels labelinterval="1" side="1" hide="0">
<font color="FF0000FF" facename="Lucida Sans Unicode" size="16" weight="600" italic="0" />
</labels>
<ticks majorticks="9" minorticks="9" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_relative_pressure color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
<background texture="img_modern3_300x300.png" stretch="1" />
</circulargauge>

<frame width="300" height="300" position-x="0" position-y="390">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>

pour le problème du A majuscule, c'est un bug de GW, si tu ajoute la date avant c'est bon, tu as un à minuscule et dès que tu supprime la date ça bug et ça affiche un A majuscule.
C'est étrange mais essaye et tu verra bien.

A+

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


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Sep 27, 2015 6:22 am 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Août 22, 2006 8:38 am
Message(s) : 3145
Localisation : 34410 Sérignan - Languedoc
paaubert a écrit:
pour le problème du A majuscule, c'est un bug de GW, si tu ajoute la date avant c'est bon, tu as un à minuscule et dès que tu supprime la date ça bug et ça affiche un A majuscule.

Salut Pierre-André,
Non ce n'est pas un bug de GW, c'est une utilisation non conforme de la balise MinDate.
J'ai donné la syntaxe correcte dans un de mes précédents posts..
jturlier a écrit:
<title text="$Min[outdoor_temperature] $Unit[Temperature] à $MinDate[outdoor_temperature, %Hh%M]"......

Je rappelle aussi que les noms des fonctions ne doivent pas être en majuscules (bien qu'en principe ce soit accepté), mais être écrits conformément aux spécifications d'Antoine


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Sep 27, 2015 9:25 am 
Hors-ligne
Membre

Inscription : Sam Août 26, 2006 5:38 pm
Message(s) : 38
Localisation : Sandillon (45)
jturlier a écrit:
paaubert a écrit:
pour le problème du A majuscule, c'est un bug de GW, si tu ajoute la date avant c'est bon, tu as un à minuscule et dès que tu supprime la date ça bug et ça affiche un A majuscule.

Salut Pierre-André,
Non ce n'est pas un bug de GW, c'est une utilisation non conforme de la balise MinDate.
J'ai donné la syntaxe correcte dans un de mes précédents posts..
jturlier a écrit:
<title text="$Min[outdoor_temperature] $Unit[Temperature] à $MinDate[outdoor_temperature, %Hh%M]"......

Je rappelle aussi que les noms des fonctions ne doivent pas être en majuscules (bien qu'en principe ce soit accepté), mais être écrits conformément aux spécifications d'Antoine


Bonjour,
Merci pour vos réponses encore une fois rapides.
J'ai remis en minuscule -----> Pas mieux :(

Pour PA : OK, le symbole est parti sur la jauge de pression, c'était bien çà ! :)
J'avais fait ça pour que l'aiguille de pression en passant sur le texte "pression atmosphérique" soit transparente" là ce n'est plus le cas :?: , si vous avez une idée ?
Bon dimanche.

_________________
Station Vantage Pro 2 6152
Graphweather 3.0.15
http://meteosandillon.free.fr/


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Sep 27, 2015 10:30 am 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Dim Jan 17, 2010 7:16 pm
Message(s) : 2624
Localisation : 1555 Villarzel - Switzerland
Citer:
Salut Pierre-André,
Non ce n'est pas un bug de GW, c'est une utilisation non conforme de la balise MinDate.
J'ai donné la syntaxe correcte dans un de mes précédents posts..


tu as raison Jean, j'avais essayé mais ça me plantait GW, j'avais du faire une erreur car effectivement c'est bien ça.

Pièce jointe:
mini.jpg


Voilà le code complet pour ta jauge
<title text="$Min[outdoor_temperature] $Unit[Temperature]\n à $MinDate[outdoor_temperature, %Hh%M]" alignement="64" angle="0" position-x="0.42" position-y="0.88">

le \n donne un retour à la ligne

A+


Vous n’êtes pas autorisé(e) à consulter les fichiers insérés à ce message.

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


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 11 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 67 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