[collectd] rrdgraph in javascript

Manuel Luis Sanmartín Rozada manuel.luis at gmail.com
Thu May 19 16:05:19 CEST 2011

Yes, read rrd files in IE is slow, but we can use in the server
something to return a json or similar with
the data to plot, it's not coded yet.

There is a function: AlmostEqual2sComplement
for comparing two floats, the problem is the performance to "convert"
a float to integer.

I try:
but in Firefox It has bad performance.

I implemented the function AlmostEqual2sComplement using Typed Arrays
for the conversion from floats to integers, I think this is why not
work in IE.

On Thu, May 19, 2011 at 2:42 PM, Richard Wall <richard at the-moon.net> wrote:
> On 19 May 2011 12:13, Manuel Luis Sanmartín Rozada
> <manuel.luis at gmail.com> wrote:
>> One more thing: in the test2 you can use the mouse to move the graph:
>> click and drag to move sideways, and to zoom use the wheel.
> Manuel,
> That's brilliant! Nice work.
> Have you got any plans or ideas about how to get your graph generator
> working in IE9?
> The JavascriptRRD parser has always had slow performance on IE - I
> think because of the use of VBscript function for reading the binary
> data - but it does work.
> -RichardW.

More information about the collectd mailing list