Bonjour,
J'essais avec beaucoup de solutions, soit de faire une gauge avec des relevés "Maxi" de la journée
$Max[wind_gust] $Unit[Speed] (ligne 25)......avec <stats_Day_Max_wind_gust......(ligne 37) ou <stats_Current_Max_wind_gust.....
Pour moi la solution serait :
$Max[wind_gust] $Unit[Speed] (ligne 25)......avec <stats_Day_Max_wind_gust......(ligne 37)
Mais ça ne me donne pas les valeurs normales, je devrais avoir :
Dans l'exemple suivant:
1) Vent maxi (17.6)
2) Température maxi (4.5)
3) Pressions maxi (1020)
Je dois louper quelque chose ?
Merci de votre aide
Cordialement

Voici le code :
Code :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="300" height="300" />
<!-- ================= Fond ================= -->
<frame width="295" height="300" position-x="0" position-y="0">
<background color="FF003399" />
<border cornerradius="5" color="" thick="1" />
</frame>
<!-- ================= Gauge ================= -->
<frame width="300" height="300" position-x="0" position-y="0">
<title text="\nMini-Maxi de la journée" alignement="top|hcenter" angle="0" position-x="0.1" position-y="0.5">
<font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
</title>
<background color="ff0000ff" texture="img_modern_square1_450x300.png" stretch="1" />
</frame>
<!-- ================= Vent ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="60" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Vent :\n$Max[wind_gust] $Unit[Speed]" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</title>
<axis color="66000000" min="0" max="100" side="left" titlemargin="30" titleside="left">
<labels labelinterval="1" side="right" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
</axis>
<index>
<stats_Current_Max_wind_gust color1="FFFF0000" color2="FFFFFF00" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<!-- ================= Température maxi ================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="133" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="T° Maxi :\n$Max[Outdoor_temperature]°" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</title>
<axis color="66000000" min="0" max="80" side="left" titlemargin="30" titleside="left">
<labels labelinterval="1" side="right" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
</axis>
<index>
<stats_Current_Max_Outdoor_temperature color1="FF00FF00" color2="FFFF9900" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="300" height="300" position-x="10" position-y="0">
<background color="ff0000ff" texture="img_modern_square3_300x300.png" stretch="1" />
</frame>
<!-- ================= Pression maxi mois================= -->
<lineargauge width="25" height="250" shadow="0" orientation="1" position-x="203" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
<title text="Pression Maxi :\n$Max[Pression_relative] hpa" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</title>
<axis color="66000000" min="1000" max="1030" side="left" titlemargin="30" titleside="left">
<labels labelinterval="1" side="right" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
</axis>
<index>
<stats_Max_Pression_relative color1="FF00FF00" color2="FFFF9900" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
</index>
<border cornerradius="0" color="FF000000" thick="0" />
<background color="00000000" stretch="1" />
<gaugebackground color="FF000000" texture="" />
</lineargauge>
<frame width="300" height="300" position-x="10" position-y="0">
<background color="ff0000ff" texture="img_modern_square3_300x300.png" stretch="1" />
</frame>
</stylesheet>