How do I save the chart as a PNG on server AFTER the drawing effect ends?

« 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 Carlos on 6th May 2014
Hi im using this guide

Sadly my graphs have a drawing effect, like .RoundRobin, .Wave and Trace
so the problem is the $post variable is sending before the current effect ends
and the result of this request is an empty grid saved as png in the directory

is there any function like onLoad or "WaitTillTheGraphIsFullyDrawn" so i can send it to save?
Hope you can help me


Posted by Richard on 6th May 2014

You could use the callback function (which runs when the effect is complete:

function myCallback ()

obj.roundRobin({frames: 60}, myCallback)

Add a reply

« Back to message list