RGraph showing old image

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 gaurav on 11th October 2013
Hi,

Once I have annotated R-Graph with random text.
Now I am getting the same annotated image and then it draws it.
Can you suggest a way to remove old object from PC.

Thanks
Gaurav Teli





Posted by RGraph support on 11th October 2013
Hi there,

You can use the API to clear annotations:

function ClearAndRedraw (obj)
{
     RGraph.ClearAnnotations(obj.canvas);
     RGraph.Clear(obj.canvas);
     obj.Draw();
}



Richard, RGraph Support
Please remember to link to the RGraph website

Help support RGraph - single site license only £99
   www.rgraph.net/license#single-site

Add a reply




« Back to message list