En ne connaissant que peu de choses à l'écriture html, je suis arrivé à adapter à mon goût le style Gauges 2 : voir la page d'ouverture de mon site http://www.meteo-pierre-benite.com.
Mais j'aimerais rendre plus visible la flêche de la direction du vent, par exemple en la mettant en noir plein.
Dans le script suivant, qu'est-ce que je dois modifier ?
Par avance, merci.
<!-- ================= Wind speed/direction ================= -->
<circulargauge width="300" height="300" shadow="0" orientation="1" position-x="300" position-y="300" margin-top="45" margin-right="45" margin-bottom="45" margin-left="45" >
<title text="Direction $CURRENT[wind_direction] °nVitesse $CURRENT[wind_speed] $UNIT[SPEED]" alignement="64" angle="0" position-x="0.56" position-y="0.63">
<font color="FF000000" facename="Arial" size="13" weight="400" italic="1" />
</title>
<axis color="FF000000" 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="FF000000" facename="Arial" size="12" weight="800" 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="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index3_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="300" position-y="300" margin-top="70" margin-right="70" margin-bottom="70" margin-left="70" >
<title text="Vent" alignement="64" angle="0" position-x="0.5" position-y="0.40">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<axis color="FF000000" min="0" max="180" titlemargin="50" titleside="32" fromangle="0" toangle="225">
<labels labelinterval="1" side="160" hide="0">
<font color="FF000000" facename="Arial" size="13" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="2" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_wind_speed color1="FFFF0000" color2="FF00FF00" filled="1" texture="img_modern_index4_120x40.png" side="2" thick="9" axisdelta="0"/>
</index>
</circulargauge>
<frame width="300" height="300" position-x="300" position-y="300">
<background color="ff0000ff" texture="img_modern2_300x300.png" stretch="1" />
</frame>
Graph Gauges 2
- TiToine
- Site Admin
- Messages : 3356
- Inscription : lun. mars 20, 2006 11:16 am
- Localisation : Montréal
- Contact :
Salut René,
En fait la flèche est une image que tu peux modifier à ton gout. Cette image se situe dans le répertoire des feuilles de style et se nomme : img_modern_index3_120x40.png
Tu peux l'éditer dans Paintshop Pro ou autre (baisse la luminosité, déforme l'histogramme, crées en une, etc.)
Antoine.
En fait la flèche est une image que tu peux modifier à ton gout. Cette image se situe dans le répertoire des feuilles de style et se nomme : img_modern_index3_120x40.png
Tu peux l'éditer dans Paintshop Pro ou autre (baisse la luminosité, déforme l'histogramme, crées en une, etc.)
Antoine.
Salut René,
Heureux de voir que ton site à bien évolué !
Bonne continuation à toi.
http://esbly.meteo.perso.cegetel.net/meteo.html
Heureux de voir que ton site à bien évolué !
Bonne continuation à toi.
http://esbly.meteo.perso.cegetel.net/meteo.html
Alain
Station météo située à Esbly 77 Seine& marne
Matériel : Lacrosse WS3600 pro
http://esbly.meteo.perso.cegetel.net/meteo.html
Station météo située à Esbly 77 Seine& marne
Matériel : Lacrosse WS3600 pro
http://esbly.meteo.perso.cegetel.net/meteo.html