bonjour
voici le code :
Code :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="560" />
<frame width="900" height="560" position-x="0" position-y="0" shadow="0">
<title text="" alignement="3" angle="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</title>
<background color1="FFFFFF99" color2="FFFFFF99" gradient="1" gradient-direction="135" stretch="1" />
<border cornerradius="90" color="FFCC6633" thick="10" />
</frame>
<!-- ================= First Lineplot ================= -->
<lineplot width="830" height="300" shadow="0" position-x="10" position-y="10" margin-top="40" margin-right="20" margin-bottom="40" margin-left="65">
<xaxis color="FF000000" grid="1" autoscale="1" min="0" max="0">
<title text="" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" side="2" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="7" minorticks="4" side="32" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" titleside="1" titlemargin="35">
<title text="Température ($UNIT[TEMPERATURE])" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="2" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="4" minorticks="4" side="2" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<y2axis side="8" color="FF000000" grid="0" autoscale="1" titleside="8">
<title text="Pression ($UNIT[PRESSURE])" alignement="20" angle="0">
<font color="FF000000" facename="Arial" size="18" weight="400" italic="1" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="8" hide="0">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="5" minorticks="4" side="8" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y2axis>
<data>
<relative_pressure axisbind="y2axis" legend="pression" color1="3000FF00" color2="300000FF" antialiasing="10" filled="1" hide="0" />
<relative_pressure axisbind="y2axis" legend="pression" color1="FF33CC00" antialiasing="1" hidelegend="1" thick="1.2"/>
<outdoor_temperature axisbind="y1axis" legend="Température ext." color1="FFFF0000" antialiasing="10" filled="0" hide="0" thick="1.2"/>
</data>
<legend orientation="0" margin="5" width="745" position-x="75" position-y="20" hide="0" shadow="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
<border cornerradius="0" color="55555555" thick="1" />
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="FFCCCCFF" color2="FFCCCCFF" gradient="1" gradient-direction="360" />
</lineplot>
<!-- ================= Statistics ================= -->
<textbox width="760" height="210" shadow="0" position-x="70" position-y="320" margin="20" >
<border cornerradius="0" color="55555555" thick="1" />
<text alignement="3">
<line text="Rapport généré le $CURRENT_DATE[%A %d %B %Y à %Hh%M]n"/>
<line text="Du $START_DATE[%A %d %B %Y à %Hh%M]"/>
<line text="Au $STOP_DATE[%A %d %B %Y à %Hh%M]"/>
<line text=""/>
<line text="ttttMinitttttMaxittttMoyenne"/>
<line text=""/>
<line text="Température ext. :t $MIN[outdoor_temperature] $UNIT[TEMPERATURE] - $MINDATE[outdoor_temperature,%d %b %Y à %Hh%M]tt$MAX[outdoor_temperature] $UNIT[TEMPERATURE] - $MAXDATE[outdoor_temperature,%d %b %Y à %Hh%M]tt$MEAN[outdoor_temperature] $UNIT[TEMPERATURE]"/>
<line text="Pression rel. :tt $MIN[relative_pressure] $UNIT[PRESSURE] - $MINDATE[relative_pressure,%d %b %Y à %Hh%M]t$MAX[relative_pressure] $UNIT[PRESSURE] - $MAXDATE[relative_pressure,%d %b %Y à %Hh%M]t$MEAN[relative_pressure] $UNIT[PRESSURE]"/>
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</textbox>
<border cornerradius="0" color="55555555" thick="1" />
<text text="Statistiques" alignement="64" angle="90">
<font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
</text>
<background color1="FFBBBBFF" color2="FFFFFFFF" gradient="1" gradient-direction="180" />
</stylesheet>
dominique