Salut,
je cherche une solution basée sur le principe de mon thermomètre de galilée
http://www.boock.ch/meteo/thermometre_galilee.phpLe but étant de faire apparaître la bonne flèche dans le cadre du graphique.
Voici une ébauche du fichier xml, si tu as le temps de finaliser le projet, bon courage.
Pièce jointe:
26.12.jpg
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="120" height="380" />
<background color1="00FFFFFF"/>
<!-- ================= + ================= -->
<lineargauge width="130" height="442" shadow="0" orientation="1" position-x="15" position-y="0" margin-top="6" margin-right="9" margin-bottom="77" margin-left="11" >
<axis color="00000000" min="0.1" max="1" side="hcenter" titlemargin="20">
<labels labelinterval="1" side="left" hide="0">
<font color="00000000" facename="Arial" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="left" hidefirst="1" hidelast="1" hideminorticks="0" hide="1" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_rate_relative_pressure texture="haut.png" side="left" thick="100" axisdelta="0" reverse="1"/>
</index>
</lineargauge>
<!-- ================= - ================= -->
<lineargauge width="130" height="442" shadow="0" orientation="1" position-x="15" position-y="30" margin-top="56" margin-right="9" margin-bottom="77" margin-left="11" >
<axis color="00000000" min="-0.9" max="-1" side="hcenter" titlemargin="20">
<labels labelinterval="1" side="left" hide="0">
<font color="00000000" facename="Arial" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="left" hidefirst="1" hidelast="1" hideminorticks="0" hide="1" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_rate_relative_pressure texture="bas.png" side="left" thick="100" axisdelta="0" reverse="1"/>
</index>
</lineargauge>
<!-- ================= = ================= -->
<lineargauge width="130" height="442" shadow="0" orientation="1" position-x="15" position-y="30" margin-top="196" margin-right="9" margin-bottom="77" margin-left="11" >
<axis color="00000000" min="-0.1" max="0.1" side="hcenter" titlemargin="20">
<labels labelinterval="1" side="left" hide="0">
<font color="00000000" facename="Arial" size="14" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="left" hidefirst="1" hidelast="1" hideminorticks="0" hide="1" minorticksize="5" majorticksize="9"/>
</axis>
<index>
<current_rate_relative_pressure texture="droite.png" side="left" thick="100" axisdelta="0" reverse="1"/>
</index>
</lineargauge>
<!-- ================= texte pression +- ================= -->
<frame width="80" height="80" position-x="0" position-y="280">
<title text=" ($Current[rate_relative_pressure] $Unit[Pressure]/h)" alignement="relative" angle="00" position-x="0.5" position-y="2.0">
<font color="FF003399" facename="Arial" size="15" weight="450" italic="0" />
</title>
</frame>
_________________
_________________________________________________________________________________________________________
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