Like most things on web, it depends on your intended audience, and the constraints you may be working with. If you're aiming a site at all NHS users, for example, you're stuck with need to support of IE6 as many NHS trusts won't upgrade.<br>
<br>If your IE users are likely to have the option of - and be willing to - install Chrome Frame, then you can offer that, and provide an SVG.<br><br>If you can rely on all users having Javascript turned on, then JQPlot is a (possibly overkill) option.<br>
<br>However, If you can rely on IE users having Javascript switched on (which would be a requirement of that option), then you can use an SVG and browser-sniff in Javascript to load a PNG instead if the browser is IE<9 - this is probably simpler and lighter.<br>
<br>Presumably you'd have to provide alternative content for visually disabled users anyway, so you could take the last option, and leave (probably relatively few) IE<9 users browsing without JavaScript to use the alternative content - the same data in a table, perhaps.<br>
<br><br clear="all">David Aldred<br>
<br><br><div class="gmail_quote">On 29 November 2011 17:39, Rory Holland <span dir="ltr"><<a href="mailto:rory@linux.com">rory@linux.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
You can use JQuery to actually render the graph itsself in the user's browser.<div>Look into JQPlot, although it might be overkill. SVG sounds better, with a PNG fallback.<div><div class="h5"><br><br><div class="gmail_quote">
On 29 November 2011 17:36, Mike Martin <span dir="ltr"><<a href="mailto:mike@redtux.org.uk" target="_blank">mike@redtux.org.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 29 November 2011 17:19, Paul Sladen <<a href="mailto:notlug@paul.sladen.org" target="_blank">notlug@paul.sladen.org</a>> wrote:<br>
> On Tue, 29 Nov 2011, Martin wrote:<br>
>> Rather than posting a fixed-size fixed resolution jpg/png image of<br>
>> a graph plot, is there a way to display graphs/charts that scale<br>
><br>
> Most browsers render SVG these days. Or failing that:<br>
><br>
> <a href="big-version.pdf"><img src="small-version.png"/></a><br>
><br>
> -Paul<br>
><br>
><br>
><br>
<br>
</div>you could also do some javascript detection of browser size and feed<br>
into php/perl and resize on the fly using GD<br>
<div><div><br>
_______________________________________________<br>
Nottingham mailing list<br>
<a href="mailto:Nottingham@mailman.lug.org.uk" target="_blank">Nottingham@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/nottingham" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a><br>
</div></div></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Nottingham mailing list<br>
<a href="mailto:Nottingham@mailman.lug.org.uk">Nottingham@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/nottingham" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/nottingham</a><br></blockquote></div><br>