[mrtg-developers] Percentage calculation in graph legends

nisha nisha.sasindran at gmail.com
Wed Dec 30 11:07:54 CET 2009


Hi All,

The graph legend display the percentage in parenthesis as shown in the
figure.

http://n2.nabble.com/file/n4231659/monthly.png 

The current and average legends show the exact value and percentage. But in
case of the Maximal legend, though the value is 23.937, the percentage is
calculated as 23.04% instead of 23.94% [(23.937/100)*100].

As per my understanding the percentage is always calculated as [(value/max
bytes) * 100 ]. In this case the maxbytes value is 100.
Is the percentage calculation different for current, average and maximal
values? 

Regards,
Nisha
-- 
View this message in context: http://n2.nabble.com/Percentage-calculation-in-graph-legends-tp4231659p4231659.html
Sent from the MRTG Developers Mailinglist mailing list archive at Nabble.com.



More information about the mrtg-developers mailing list