Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Sam Avr 27, 2024 7:30 pm

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 5 message(s) ] 
Auteur Message
 Sujet du message: Evapotranspiration.........
MessagePublié: Sam Août 09, 2008 8:48 pm 
Hors-ligne
Membre

Inscription : Mar Avr 15, 2008 8:11 pm
Message(s) : 20
Localisation : Greece
Hello all,
I see that you can set evepotranspiration in "Temperature 2" but it refers to it as "inches" I did change the (in) to (mm) but the number on the graph still shows 3 digits after the "." like 2.000. How can I fix it?
Thank you
Peter

_________________
Image
http://www.syroswx.gr


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Août 09, 2008 11:59 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
Hi,

What is the .xml you use?


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Août 10, 2008 8:38 pm 
Hors-ligne
Membre

Inscription : Mar Avr 15, 2008 8:11 pm
Message(s) : 20
Localisation : Greece
Hi,
I use a custom .xml file and I have the following code

<title text="Evapotranspiration ($UNIT[RAINFALL])" alignement="20" angle="0">

and in data

<temperature_2 axisbind="y3axis" legend="Evapotranspiration" color1="FF000000" color2="FF000000" antialiasing="1" filled="0" hide="0" />

it shows ok in the graph, it's just the number that has the extra digit.
Thank you
Peter

_________________
Image
http://www.syroswx.gr


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Août 10, 2008 9:17 pm 
Hors-ligne
Site Admin
Avatar de l’utilisateur

Inscription : Lun Mars 20, 2006 11:16 am
Message(s) : 3356
Localisation : Montréal
In your .xml you should have something like that :

Code :
    <y3axis side="right" color="FF000000" grid="0" autoscale="0" min="0" max="100" titleside="right" ydelta="65" titlemargin="40">
      <title text="Humidité (%)" alignement="vcenter|hcenter" angle="0">
        <font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
      </title>
      <labels labelinterval="1" angle="0" format=".1" side="right" hide="0">
        <font color="FF000000" facename="Arial" size="12" weight="400" italic="1" />
      </labels>
      <ticks majorticks="5" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
    </y3axis>


Change format=".1" in format=".3"


Haut
 Profil  
Répondre en citant  
MessagePublié: Dim Août 10, 2008 10:22 pm 
Hors-ligne
Membre

Inscription : Mar Avr 15, 2008 8:11 pm
Message(s) : 20
Localisation : Greece
Antoine, yes it was the "format" part that was wrong, so I learned one more thing. All is well now thank you very much.
Peter

_________________
Image
http://www.syroswx.gr


Haut
 Profil  
Répondre en citant  
Afficher les messages publiés depuis :  Trier par  
Publier un nouveau sujet Répondre au sujet  [ 5 message(s) ] 

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 26 invité(s)


Vous ne pouvez pas publier de nouveaux sujets dans ce forum
Vous ne pouvez pas répondre aux sujets dans ce forum
Vous ne pouvez pas éditer vos messages dans ce forum
Vous ne pouvez pas supprimer vos messages dans ce forum
Vous ne pouvez pas insérer de pièces jointes dans ce forum

Recherche de:
Aller vers :  
cron
POWERED_BY
Traduction et support en françaisHébergement de site