Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Mar Mai 14, 2024 4:12 am

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 6 message(s) ] 
Auteur Message
 Sujet du message:
MessagePublié: Ven Jan 12, 2007 9:02 am 
Hors-ligne
Membre

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


Je voudrai que dans les jauges (vent et humidité) l'aiguille représentant la vitesse du vent ou la pression ne cache pas le texte (pression absolue,vitesse actu, vitesse max et windchill)

Voir ici http://meteosandillon.neuf.fr/


Merci de m'indiquer la démarche sachant que dans la jauge "vent" ,le texte "vent "passe lui bien par dessus l'aiguille indiquant la direction.
Cela me pose un probleme quand par exemple le vent est au Sud, la partie centrale du texte (Vitesse actu max et windchill )est partiellement cachée.

En éspérant avoir été assez clair !

Merci de vos réponses.

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


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Sam Jan 13, 2007 4:27 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Salut,

Ce que tu peux faire c'est créer un textbox à la fin de la feuille de style (il sera tracé en dernier donc au dessus).
Tu places comme texte (ca doit correspondre à ce que la jauge indiquera) :

<line text="Vitesse actu : CURRENT[wind_speed] UNIT[SPEED]"/>
<line text="Vitesse max : MAX[wind_speed] UNIT[SPEED]"/>
<line text="Windchill: CURRENT[wind_chill] UNIT[TEMPERATURE]"/>

Reste ensuite à amener le textbox la ou tu le souhaites avec x-position, y-position.

Ne met pas de bordures au textbox

Antoine.


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Jan 17, 2007 9:13 pm 
Hors-ligne
Membre

Inscription : Sam Août 26, 2006 5:38 pm
Message(s) : 38
Localisation : Sandillon (45)
Bonsoir Antoine,

Cela ne marche pas
Voir ci-dessous et indiques moi où j'ai fait une erreur.
Merci de ta réponse.

<!-- ================= Wind direction ================= -->
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="410" 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_speed] km/hnWindchill $CURRENT[wind_chill] $UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.52">
<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_modern1_300x300.png" stretch="1" />
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="410" position-y="390" margin-top="45" margin-right="45" margin-bottom="70" margin-left="70" >
<title text="Vent" alignement="64" angle="0" position-x="0.5" position-y="0.33">
<font color="FF000000" facename="Lucida Sans Unicode" size="17" weight="600" italic="0" />

</title>
</circulargauge>
<line text="Vitesse actu : CURRENT[wind_speed] UNIT[SPEED]" alignement="64" angle="0" position-x="0.50" position-y="0.45"/>
<line text="Vitesse max : MAX[wind_speed] UNIT[SPEED]" alignement="64" angle="0" position-x="0.50" position-y="0.55"/>
<line text="Windchill: CURRENT[wind_chill] UNIT[TEMPERATURE]" alignement="64" angle="0" position-x="0.50" position-y="0.65"/>


<frame width="300" height="300" position-x="410" position-y="380">
<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  
 Sujet du message:
MessagePublié: Mer Jan 17, 2007 9:51 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Il faut encapsuler les lignes :

<line text="Vitesse actu : CURRENT[wind_speed] UNIT[SPEED]"/>
<line text="Vitesse max : MAX[wind_speed] UNIT[SPEED]"/>
<line text="Windchill: CURRENT[wind_chill] UNIT[TEMPERATURE]"/>

dans un textbox.

<textbox position-x=".." .....>
<line text="Vitesse actu : CURRENT[wind_speed] UNIT[SPEED]"/>
<line text="Vitesse max : MAX[wind_speed] UNIT[SPEED]"/>
<line text="Windchill: CURRENT[wind_chill] UNIT[TEMPERATURE]"/>
</textbox>


Haut
 Profil  
Répondre en citant  
 Sujet du message:
MessagePublié: Mer Jan 17, 2007 11:01 pm 
Hors-ligne
Membre

Inscription : Sam Août 26, 2006 5:38 pm
Message(s) : 38
Localisation : Sandillon (45)
Je viens de faire ce que tu m'as indiqué mais cela ne fonctionne toujours pas.
A l'aide !!!
Merci

<!-- ================= Wind direction ================= -->
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="410" position-y="390" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >

<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_modern1_300x300.png" stretch="1" />
</circulargauge>
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="410" position-y="390" margin-top="45" margin-right="45" margin-bottom="70" margin-left="70" >
<title text="Vent" alignement="64" angle="0" position-x="0.5" position-y="0.33">
<font color="FF000000" facename="Lucida Sans Unicode" size="17" weight="600" italic="0" />

</title>

</circulargauge>

<textbox position-x="0.50" position-y="0.55">
<line text="Vitesse actu : CURRENT[wind_speed] UNIT[SPEED]"/>
<line text="Vitesse max : MAX[wind_speed] UNIT[SPEED]"/>
<line text="Windchill: CURRENT[wind_chill] UNIT[TEMPERATURE]"/>
</textbox>
<frame width="300" height="300" position-x="410" position-y="380">
<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  
 Sujet du message:
MessagePublié: Mer Jan 17, 2007 11:37 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Je pense qu'il manque la taille dans le textbox (width="" et height=""). Les positions doivent être absolues aussi (ex: position-x="500" position-y="550").


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

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Google [Bot] et 49 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 :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site