Within NTOP reports, there are two types of "bar" graphs.

1. uses the blue bar (gauge.jpg) and is constructed by adjusting the width
of the displayed graphic.
2. uses table background colors

Both have problems

#1 doesn't actually show the value - I've submitted a patch to use the ALT=
text to solve that (although it shows only the integer part of the
percentage)

#2 doesn't print and also incorrectly shows small values.  Internally, these
are small tables of two columns, with text and background colors using
WIDTH=nn%.  The problem is that for small values, browsers will expand the
size of the column to hold the text and incorrectly show the distribution.

I think NTOP needs to pick ONE and use it everywhere.  Because of the
printing issue, I recommend #1 as patched - perhaps with one or two decimal
digits of accuracy (nn.nn) in the ALT= tag.

Any comments or ideas?

-----Burton

_______________________________________________
Ntop-dev mailing list
[EMAIL PROTECTED]
http://listmanager.unipi.it/mailman/listinfo/ntop-dev

Reply via email to