[ previous ] [ next ] [ threads ]
 
 From:  Max Khitrov <max at mxserve dot net>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] Replacement for CPU/Memory graph
 Date:  Tue, 18 Oct 2005 13:40:04 -0400
Alex Pimperton wrote:
> The SVG graph is one of the features I struggle with as i'm often 
> swapping between computers that don't have SVG installed, and 
> downloading and installing the plugin everytime gets very boring.

I'm with you on that one, but since there does seem to be quite a lot of 
support for SVG, how about we change the discussion a little bit...

Why not use SVG as the default presentation, but also put in a check to 
see if the user's browser supports SVG. If not, then have a fallback 
mechanism that's something like my graph.

Both use the same interface to retrieve the data, so it's only a matter 
of adding a few extra files to the distribution. If there's no way to 
check if SVG is supported on a browser (haven't dealt with SVG, so don't 
know), then make it an option for the user to pick. No real downside to 
it IMHO.

- Max