I've cleared my canvas but it's shown again

« 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 Viola on 20th January 2014
Hello, I got a very strange problem...

I am implementing a bar graph with onmousemove tooltips. I use jquery to get data from database and redraw the graph when it is needed. I used RGraph.Clear(document.getElementById(cvs[i])) to clear canvas every time before draw graph. after reload it was fine. but when I move my mouse to show the tooltip info. the old canvas came again. the old graph only appeared when the tooltip showed. why it is like this? How can I fix it?
Thank you very much!
Posted by Richard on 20th January 2014
Hi there,

You could use:


Instead of your clear function.


Add a reply

« Back to message list