Multiple Line charts crashes the browser

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Jack on 20th June 2013
Hi,
I just started using Line graphs and its cool. I am updating the canvas after every 2 seconds and thats plotting multiple graphs that I choose from my checkbox on my HTML page.
When I select one more checkbox it will send AJAX call and get data back for that line graph.
This will add a new line to the existing line graphs which are dynamically updating.
But , when I mouse over my canvas , it hangs. The browser crashes
FF and Chrome both of them fail.
There is no way to even debug this. Please help me

Thanks
Posted by RGraph support on 20th June 2013
Hi there,

If you creating the chart anew each time then you may be just building up the number of objects that are being kept track of. Try clearing the ObjectRegistry between calls:

RGraph.ObjectRegistry.Clear();





Richard, RGraph Support

5 developer license with Priority support for £299:
   www.rgraph.net/license#five-developer

Add a reply




« Back to message list