TIGRE21 a écrit:
Salut Arnaud !
Ton xml me plait beaucoup, je vais me permettre de l'utiliser
J'ai choisi le graph de la température pour débuter, par contre je n'a pas la température live comme dans ton exemple ?

Ca doit être cela mais des fois cela bug donc pas de panique si des fois il y a des erreurs :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="250" height="190" />
<frame width="250" height="190" position-x="0" position-y="0" shadow="0">
<title text="" alignement="horizontal" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<image width="36" height="25" />
<!-- ================= Background ================= -->
<textbox width="50" height="36" shadow="1" position-x="200" position-y="150" margin="0">
<text alignement="center">
<line text="Live" />
<line text="$Current[wind_speed] $Unit[Speed]" />
<font color="FF000000" size="12" weight="45" italic="0" />
</text>
</textbox>
<image width="36" height="25" />
<!-- ================= Backgroundtop ================= -->
<textbox width="30" height="12" shadow="1" position-x="210" position-y="0" margin="0">
<text alignement="2">
<line text="$CurrentDate[%Hh%M]" />
<font color="FF000000" size="14" weight="40" italic="0" />
</text>
</textbox>
<!-- ================= First Lineplot ================= -->
<lineplot width="230" height="120" shadow="0" position-x="10" position-y="10" margin-top="10" margin-right="10" margin-bottom="10" margin-left="10">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<labels labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="left" titlemargin="35">
<title text="Vitesse du vent ( $Unit[Speed] )" alignement="hcenter|vcenter" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="5" minorticks="4" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<wind_speed axisbind="y1axis" legend="Vitesse du vent" color1="66FF0000" color2="33FF0000" antialiasing="1" filled="1" />
<wind_speed axisbind="y1axis" legend="Vitesse du vent" color1="66FF0000" antialiasing="1" filled="0" hidelegend="1" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="150" position-x="20" position-y="0" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="250" height="50" shadow="0" position-x="10" position-y="160" margin="0" >
<text alignement="left|top">
<line text="Vitesse maximale : $Max[wind_speed] $Unit[Speed] $MaxDate[wind_speed,à %Hh%M]"/>
<line text="Rafale maximale : $Max[wind_gust] $Unit[Speed] $MaxDate[wind_gust,à %Hh%M]"/>
</text>
</textbox>
</stylesheet>
_________________
VP2, Weatherlink 6.0.3, GraphWeather 3.0.33 Beta , Windows 7 Intégrale 64bits


