Comme vous pouvez le voir, les dates sur l'axe des abscisses sont erronées.
Entre 1 et 28.29.30 ou 31 serait mieux.
Ci dessous le code, si quelqu'un voit la fote dortograf...
Merci.
PS: Tous changement à la ligne des ticks de xasis sont sans effet. Par contre si
vous souhaitez faire exploser GW, mettez "0" à l'autoscale du même xasis.
Il s'agit d'un graph des stats, of course...
Ajouté le : sam 25/04/09 17:46 EST<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="160" />
<frame width="900" height="160" 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="FFDDDDFF" color2="FFFFFFFF" gradient="0" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= barometric lineplot ================= -->
<lineplot width="900" height="120" shadow="0" position-x="0" position-y="35" margin-top="0" margin-right="20" margin-bottom="20" margin-left="40">
<xaxis color="FF000000" grid="1" autoscale="1" min="0" max="0" >
<labels labelinterval="0" angle="0" side="left" hide="0 " format="%d" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="1" minorticks="0" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" y-base="0.0" titleside="left" titlemargin="25">
<labels labelinterval="0" angle="0" format=".0" side="left" hide="0" >
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="5" minorticks="0" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_month_max_relative_pressure axisbind="y1axis" legend="Baromètre niveau mer" color1="660000FF" antialiasing="1" filled="0" hidelegend="0" thick="1.2" />
</data>
<legend orientation="0" margin="3" width="900" position-x="0" position-y="0" 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>
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Textbox ================= -->
<textbox width="80" height="30" shadow="0" position-x="810" position-y="00" margin="4" >
<text alignement="center|top">
<line text="$StartDate[%m / %Y]"/>
</text>
</textbox>
</stylesheet>
Même punition pour le même graph appliqué aux années.
- On remarquera que le labels de xasis n'a aucune influence sur le graphe
- Aucun graphe n'est tracé quelque soit le data affecté.
- Les horaires au dessus des dates ne dont pas réellement nécessaires mais bon...!
C'est déjà mieux que pour le graphe mensuel.
Os court... Os court...
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="500" height="160" />
<frame width="500" height="160" 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="FFDDDDFF" color2="FFFFFFFF" gradient="0" gradient-direction="135" stretch="1" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= Year Barometric Lineplot ================= -->
<lineplot width="500" height="120" shadow="0" position-x="0" position-y="35" margin-top="0" margin-right="20" margin-bottom="30" margin-left="40">
<xaxis color="FF000000" grid="1" autoscale="0" min="0" max="0">
<labels labels="Janv.;Fév.;Mars;Avril;Mai;Juin;Juil.;Août;Sep.;Oct.;Nov.;Déc." labelinterval="1" angle="0" side="left" hide="0">
<font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
</labels>
<ticks majorticks="13" minorticks="3" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF000000" grid="1" autoscale="1" min="0" max="0" y-base="0.0" titleside="left" titlemargin="25">
<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="1" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_month_max_relative_pressure axisbind="y1axis" legend="Baromètre niveau mer (hPa)" color1="660000FF" antialiasing="1" filled="0" hidelegend="0" thick="1.2" />
</data>
<legend orientation="0" margin="3" width="500" position-x="0" position-y="0" 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>
<graphbackground color1="FFCCCCFF" color2="FFFFFFFF" gradient="1" gradient-direction="90" />
</lineplot>
<!-- ================= Textbox ================= -->
<textbox width="80" height="30" shadow="0" position-x="410" position-y="00" margin="4" >
<text alignement="center|top">
<line text="$StartDate[ %Y]"/>
</text>
</textbox>
</stylesheet>