Hi, D'après le code il semblerai que c'est simplement la moyenne des 30 elements précédents.
Mais tout est modifiable. Cela peut devenir la moyenne sur un interval donné. Julien [EMAIL PROTECTED] a écrit : > > Hello, > > I am working on integrating flot (jQuery > extension)(http://code.google.com/p/flot/) in GLPI (instead of SPIP > DISPLAY GRAPH) > > it is nicer (for me) (but we loose the fact than when you pass your > mouse over the column the Alt fonction shows us the real number) > > So I am working on that and I already make a proof of concept that > works well > > now I am trying to create a new version of the "graphBy" function in > stats.function.php > > Unfortunatly I don't really understand how the "moyenne" is calculated > > for exemple I take global statistique first graphs total ticket with > default parameter (1 year) > > > for each column (a month) we have only one value (the total ticket for > this month) > I cannont calculated the "moyenne" for a month because this is a > single value > If I consider calculating the "moyenne" for all the period It should > be a single value and my graph would have a straight red line) and in > my graph the red line is never straight (perhaps it is because of a > graphical bug) > > If someone could explain me (French will be easier) how this value is > calculated, I could do the same thing with the new graphical layout > > thanks in advance > -- > Guillaume Brusset > > ******************************************************************* > Ce message et les pieces qui y sont eventuellement jointes sont > exclusivement transmis a l'intention des personnes physiques ou > morales auxquelles ils sont destines. > Si vous avez recu ce message par erreur, merci d'en avertir > immediatement Mazars par telephone ou par courrier electronique de > retour a l'expediteur et de supprimer toute copie de ce message. > Par ailleurs, il vous est notifie que toute divulgation, reproduction, > distribution ou utilisation quelconque de tout ou partie de ce message > (y compris de ses eventuelles pieces jointes) et des informations qui > y sont contenues est interdite. > Internet ne permettant pas d'assurer l'integrite de ce message, Mazars > et l'expediteur declinent toute responsabilite au cas ou il aurait ete > intercepte ou modifie par quiconque. > > This message and any possible attachments are transmitted for the > exclusive use of the intended recipient(s). > Should you receive this message by mistake, please notify Mazars or > the sender at once by telephone or return e-mail and delete it from > your system. > Moreover, any form of reproduction dissemination, copying, disclosure, > modification, distribution and/or use of this message - or part of its > contents, as well as its possible attachments by any unauthorized > person or legal entity, is strictly prohibited. > The nature of the Internet means that the integrity of this message > cannot be guaranteed. Mazars and the sender therefore disclaim any > liability whatsoever in the event of this message having been > intercepted and/or altered. > ******************************************************************** > > This message has been scanned for viruses by BlackSpider MailControl > <http://www.blackspider.com/> > > ------------------------------------------------------------------------ > > _______________________________________________ > Glpi-dev mailing list > [email protected] > https://mail.gna.org/listinfo/glpi-dev > _______________________________________________ Glpi-dev mailing list [email protected] https://mail.gna.org/listinfo/glpi-dev
