<br>
<br><tt><font size=2>Steve Shipway &lt;s.shipway@auckland.ac.nz&gt; schrieb
am 14.10.2010 00:15:44:<br>
<br>
&gt; Now that is rather niceā€¦ might be a bit demanding on the backend
RRD<br>
&gt; server, though, to have to render graphs so frequently. &nbsp;How
do you <br>
&gt; pass the image back to the browser?</font></tt>
<br>
<br><tt><font size=2>It is just a servlet sending out an image. The move/zoom
logic is implemented in javascript on the client side. The meta data for
an image can be accessed by the script through a (separate) AJAX call.
</font></tt>
<br>
<br><tt><font size=2>The drawback of this extremely simple approach is,
that it takes two HTTP requests to get the image AND the metadata.</font></tt>
<br>
<br><tt><font size=2>And in order to lower the pressure on the server,
I queue up move events and handle them only every 100ms, or so.</font></tt>
<br>
<br>
<br><tt><font size=2>peter</font></tt>
<br><tt><font size=2>&nbsp; </font></tt>