Forum GraphWeather

Forum d'aide GraphWeather
Nous sommes actuellement le Jeu Avr 25, 2024 9:41 am

Le fuseau horaire est UTC+1 heure




Publier un nouveau sujet Répondre au sujet  [ 3 message(s) ] 
Auteur Message
 Sujet du message: Aide sur Maxi de la journée
MessagePublié: Sam Déc 03, 2016 10:56 am 
Hors-ligne
Membre

Inscription : Dim Déc 06, 2015 10:29 am
Message(s) : 184
Bonjour,
J'essais avec beaucoup de solutions, soit de faire une gauge avec des relevés "Maxi" de la journée

$Max[wind_gust] $Unit[Speed] (ligne 25)......avec <stats_Day_Max_wind_gust......(ligne 37) ou <stats_Current_Max_wind_gust.....

Pour moi la solution serait :
$Max[wind_gust] $Unit[Speed] (ligne 25)......avec <stats_Day_Max_wind_gust......(ligne 37)

Mais ça ne me donne pas les valeurs normales, je devrais avoir :
Dans l'exemple suivant:
1) Vent maxi (17.6)
2) Température maxi (4.5)
3) Pressions maxi (1020)

Je dois louper quelque chose ?
Merci de votre aide
Cordialement
Image
Voici le code :
Code :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
   <image width="300" height="300" />
         <!-- ================= Fond ================= -->
   <frame width="295" height="300" position-x="0" position-y="0">
      <background color="FF003399" />
      <border cornerradius="5" color="" thick="1" />
   </frame>
   
   
  <!-- ================= Gauge ================= -->
   <frame width="300" height="300" position-x="0" position-y="0">
   
   <title text="\nMini-Maxi de la journée" alignement="top|hcenter" angle="0" position-x="0.1" position-y="0.5">
      <font color="FF000000" facename="Arial" size="20" weight="400" italic="1" />
   </title>
   
   <background color="ff0000ff" texture="img_modern_square1_450x300.png" stretch="1" />
   </frame>
 
   
   <!-- ================= Vent ================= -->
   <lineargauge width="25" height="250" shadow="0" orientation="1" position-x="60" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
   
   <title text="Vent :\n$Max[wind_gust] $Unit[Speed]" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
   </title>
   
   <axis color="66000000" min="0" max="100" side="left" titlemargin="30" titleside="left">
      <labels labelinterval="1" side="right" hide="0">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
   </axis>
   
   <index>
      <stats_Current_Max_wind_gust color1="FFFF0000" color2="FFFFFF00" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
   </index>
      <border cornerradius="0" color="FF000000" thick="0" />
      <background color="00000000" stretch="1" />
      <gaugebackground color="FF000000" texture="" />
   </lineargauge>
   
   <!-- ================= Température maxi ================= -->
   
   <lineargauge width="25" height="250" shadow="0" orientation="1" position-x="133" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
   
   <title text="T° Maxi :\n$Max[Outdoor_temperature]°" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
   </title>
   
   <axis color="66000000" min="0" max="80" side="left" titlemargin="30" titleside="left">
      <labels labelinterval="1" side="right" hide="0">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
      </labels>
      <ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
   </axis>
   
   <index>
      <stats_Current_Max_Outdoor_temperature color1="FF00FF00" color2="FFFF9900" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
   </index>
      <border cornerradius="0" color="FF000000" thick="0" />
      <background color="00000000" stretch="1" />
      <gaugebackground color="FF000000" texture="" />
   </lineargauge>
   
   <frame width="300" height="300" position-x="10" position-y="0">
      <background color="ff0000ff" texture="img_modern_square3_300x300.png" stretch="1" />
   </frame>
   
    <!-- ================= Pression maxi mois================= -->
   
   <lineargauge width="25" height="250" shadow="0" orientation="1" position-x="203" position-y="20" margin-top="34" margin-right="0" margin-bottom="42" margin-left="0" >
      
   <title text="Pression Maxi :\n$Max[Pression_relative] hpa" alignement="relative" angle="0" position-x="0.47" position-y="0.92">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="1" />
   </title>
   
   <axis color="66000000" min="1000" max="1030" side="left" titlemargin="30" titleside="left">
      <labels labelinterval="1" side="right" hide="0">
      <font color="FF000000" facename="Arial" size="14" weight="400" italic="0" />
   </labels>
      <ticks majorticks="8" minorticks="4" side="right" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" minorticksize="18" majorticksize="25"/>
   </axis>
   
   <index>
      <stats_Max_Pression_relative color1="FF00FF00" color2="FFFF9900" filled="1" reverse="0" side="right" thick="25" axisdelta="0"/>
   </index>
      <border cornerradius="0" color="FF000000" thick="0" />
      <background color="00000000" stretch="1" />
      <gaugebackground color="FF000000" texture="" />
   </lineargauge>
   
   <frame width="300" height="300" position-x="10" position-y="0">
      <background color="ff0000ff" texture="img_modern_square3_300x300.png" stretch="1" />
   </frame>
   
</stylesheet>


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Déc 03, 2016 11:54 am 
Hors-ligne
Membre
Avatar de l’utilisateur

Inscription : Mar Mars 23, 2010 6:05 pm
Message(s) : 2260
Localisation : Le Thor 84250
Il faut faire un choix soit c'est max de la stat soit c'est current = valeur du moment , je ne pense pas qu'on puisse demander la stat du moment c'est en opposition

_________________
WMR200 - XNet meteo 2011-10-14a- graphweather V 3.0.35- Win10 x64
webcam installée orientation NE
http://le-thor-meteo.com/index.php


Haut
 Profil  
Répondre en citant  
MessagePublié: Sam Déc 03, 2016 3:01 pm 
Hors-ligne
Membre

Inscription : Dim Déc 06, 2015 10:29 am
Message(s) : 184
Bonjour,
Excuse-moi ..... :oops: :oops:
Merci de m'avoir quand même répondu, mais je pense avoir fais un erreur :oops:
Je changeais mes texte dans xml tout en gardant mon image sur GW avec "mois en cours" au lieu de travaillé sur "journée en cours" :roll: :roll:
Cordialement

Ps : Ce message peut être supprimé
Pas de raison, il fait partie du sujet et explique la raison de ta question
D'autre part, les commentaires de Pierre André peuvent aider quelqu'un d'autre
Jean


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

Le fuseau horaire est UTC+1 heure


Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 8 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 :  
POWERED_BY
Traduction et support en françaisHébergement de site