How can I implement a cross browser javascript strip chart that does not leak memory. I have treid several off the shelf and home made charts. the basic test is to leave them running, redrawing the chart once per second while using control panel to observe memory loss. I have a little button to turn off the redraw as a sanity check to verify that memory isn't leaking all by itself.
I have tried plotkit. I have tried drawing on a canvas tag. I am now trying svg in xhtml. And I have tried flotr and Emprise EJSChart and the only chart I have found that did not leak with the same code feeding it data was a vml based chart , which sadly doesnt seem to work under firefox even ff 3.
My application needs to stay up and running indefinitley. it would use ajax to get data from a web server monitoring some hw. Is this even possible or is the only real answer a regular application? My company has a flash based web app and it also leaks. I am not familiar with its internals.
If I turn off charting my gauges and data and text based readouts are fine and leakless.
I have tried plotkit. I have tried drawing on a canvas tag. I am now trying svg in xhtml. And I have tried flotr and Emprise EJSChart and the only chart I have found that did not leak with the same code feeding it data was a vml based chart , which sadly doesnt seem to work under firefox even ff 3.
My application needs to stay up and running indefinitley. it would use ajax to get data from a web server monitoring some hw. Is this even possible or is the only real answer a regular application? My company has a flash based web app and it also leaks. I am not familiar with its internals.
If I turn off charting my gauges and data and text based readouts are fine and leakless.
Comment