Bonjour,
Merci de me dépanner avec tes conseils.
J'ai tenté en vain de modifier le script mais problème, il n'accepte pas les modifications !!!
la ligne de commande se présente comme ceci :
Code :
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="1000" y-base="0.0" titleside="left" titlemargin="25">
j'ai mis autoscale="1" , max ="100" mais aucune modification
Je te met ci a-après la copie du script :
Code :
<?xml version="1.0" encoding="iso-8859-1" ?>
<stylesheet>
<image width="900" height="750" />
<frame width="900" height="750" 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="FFFFFFFF" color2="FF79BCFF" texture="condensation.jpg" stretch="1" gradient="1" gradient-direction="90" />
<border cornerradius="0" color="55555555" thick="1" />
</frame>
<!-- ================= pluie annuelle depuis 2014 ================= -->
<bargraph width="235" height="700" 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="1" min="0" max="0">
<labels labelinterval="1" angle="90" side="left" hide="0" format="%Y">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="7" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="100" y-base="0.0" titleside="left" titlemargin="25">
<title text="Précipitations ($UNIT[RAINFALL])" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Arial" size="10" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".0" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="21" minorticks="1" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_full_totalrainfall axisbind="y1axis" legend=" PRECIPITATIONS (en mm) DEPUIS 2014" color1="FF80FFFF" color2="FF0000FF" gradient="horizontal" antialiasing="1" filled="1" />
<threshold axisbind="y1axis" legend="Normales annuelles / mensuelles" color1="FFFF0000" value="850" thick="1.0"/>
</data>
<legend orientation="0" margin="3" width="300" position-x="-34" position-y="0" hide="0" shadow="0">
<font color="FF0000FF" facename="Arial" size="13" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= mois en cours ================= -->
<bargraph width="750" height="380" shadow="0" position-x="200" position-y="30" margin-top="40" margin-right="70" margin-bottom="50" margin-left="65">
<xaxis color="FF0000FF" grid="1" autoscale="0" min="0" max="0">
<title text="" alignement="20" angle="0">
<font color="FF0062C4" facename="Arial" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format="%d" side="2" hide="0">
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="32" minorticks="0" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="1" min="0" max="40" y-base="0.0" titleside="left" titlemargin="35">
<title text="Précipitations ( $Unit[Rainfall] )" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Time new roman" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="9" minorticks="1" side="0" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_month_totalrainfall axisbind="y1axis" legend="" color1="FF0000FF" color2="FF80FFFF" antialiasing="1" filled="1" />
</data>
<legend orientation="0" margin="5" width="765" position-x="300" position-y="35" hide="0" shadow="0">
<font color="FF0000FF" facename="Time new roman" size="18" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<border cornerradius="0" color="55555555" thick="0" />
<background color1="00000000" stretch="1" />
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= Cumule sur la période mois================= -->
<textbox width="500" height="30" shadow="0" position-x="300" position-y="35" margin="5" >
<border cornerradius="10" color="55555555" thick="1" />
<text alignement="center">
<line text="Cumul des précipitations sur le mois en cours : $Stats[Month,TotalRainfall] $UNIT[RAINFALL]"/>
<font color="FF0000FF" facename="Comic Sans MS" size="20" weight="400" italic="0" />
</text>
<background color1="FFFFFFFF" color2="FF79BCFF" gradient="1" gradient-direction="90" />
</textbox>
<textbox width="470" height="50" position-x="595" position-y="725" >
<text>
<font color="FF0000FF" facename="Time new roman" size="12" weight="400" italic="0" />
<line text="Rapport généré le $CurrentDate[%A %d %B %Y à %Hh%M]\n" alignement="vcenter|hcenter"/>
</text>
<background color1="" color2="" gradient="1" gradient-direction="180" stretch="1" />
</textbox>
<textbox width="450" height="50" position-x="450" position-y="0" >
<text>
<font color="FF0000FF" facename="Comic Sans MS" size="26" weight="600" italic="0" />
<line text=" PRECIPITATIONS " alignement="vcenter|hcenter"/>
</text>
<background color1="" color2="" gradient="1" gradient-direction="180" stretch="1" />
</textbox>
<!-- ================= annee en cours ================= -->
<bargraph width="750" height="390" shadow="0" position-x="200" position-y="363" margin-top="40" margin-right="70" margin-bottom="50" margin-left="65">
<xaxis color="FF0000FF" 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="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="" minorticks="4" side="bottom" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</xaxis>
<y1axis color="FF0000FF" grid="1" autoscale="0" min="0" max="150" y-base="0" titleside="left" titlemargin="35">
<title text="Précipitations ( $Unit[Rainfall] )" alignement="vcenter|hcenter" angle="0">
<font color="" facename="Arial" size="16" weight="400" italic="0" />
</title>
<labels labelinterval="1" angle="0" format=".1" side="left" hide="0" >
<font color="FF0000FF" facename="Arial" size="14" weight="400" italic="0" />
</labels>
<ticks majorticks="11" minorticks="1" side="left" hidefirst="0" hidelast="0" hideminorticks="0" hide="0" />
</y1axis>
<data>
<stats_year_totalrainfall axisbind="y1axis" legend="" color1="FF0000FF" color2="FF80FFFF" antialiasing="1" filled="1" />
</data>
<legend orientation="0" margin="3" width="500" position-x="300" position-y="380" hide="0" shadow="0">
<font color="FF0000FF" facename="Time new roman" size="18" weight="400" italic="0" />
<border cornerradius="0" color="" thick="1" />
<background color1="" color2="" gradient="1" gradient-direction="90"/>
</legend>
<graphbackground color1="" color2="" gradient="1" gradient-direction="90" />
</bargraph>
<!-- ================= Cumule sur la période année================= -->
<textbox width="520" height="30" shadow="0" position-x="300" position-y="380" margin="5" >
<border cornerradius="10" color="55555555" thick="1" />
<text alignement="center">
<line text="Cumul des précipitations sur l'année en cours : $Stats[Year,TotalRainfall] $UNIT[RAINFALL]"/>
<font color="FF0000FF" facename="Comic Sans MS" size="20" weight="400" italic="0" />
</text>
<background color1="FFFFFFFF" color2="FF79BCFF" gradient="1" gradient-direction="90" />
</textbox>
</stylesheet>
Encore Merci de ton intervention.
Cordialement
Michel dit Boucher
_________________
OS : Windows 10 Professional
Station Météo : Vantage PRO2
Cumulus version 3.00 b 3043
Meteotemplate 17.0 Nectarine
http://lecourtilauxepines.euhttp://lecourtilauxepines.pagesperso-orange.fr