Faute d'orthographe...

Une question, un bug ?
Répondre
weather
Membre
Messages : 92
Inscription : mer. févr. 04, 2009 11:34 am
Contact :

Faute d'orthographe...

Message par weather »

Bonsoir @ tous,


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...
graf.jpg
<?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>
Ajouté le : sam 25/04/09 17:46 EST

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...
graph-year-7.png
<?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>
Vous ne pouvez pas consulter les pièces jointes insérées à ce message.
Image
.......... updated each 30 minutes .........
Logiciels: VWStation: 14.0p87 | GW : 2.0.281b | VWSql : 2.0 | WXsim : ?????
FTPGetter : 3.19.0.83 | StartWatch : 1.1.1.144 | AdvancedTaskScheduler : 1.5b0446
OS: Windows XP SP2 | Station VantagePro 2 ventilée, UV, RadSol, LinkPro IP
Avatar de l’utilisateur
TiToine
Site Admin
Messages : 3356
Inscription : lun. mars 20, 2006 11:16 am
Localisation : Montréal
Contact :

Re: Faute d'orthographe...

Message par TiToine »

Il y a un problème pour les lineplots...

En attendant que ce soit résolu, tu peux:
- Garder ton lineplot et cacher son axe des X
- Ajouter un bargraph avec le même data que le lineplot et cacher tout sauf l'axe des X.
Répondre