Unanswered: How to add an onComplete callback after the chart has been generated
Unanswered: How to add an onComplete callback after the chart has been generated
I am using Sencha Touch Charts 1.x to create charts. Once the chart is generated and displayed, I would like to do some additional Javascipt code to be executed. Is this possible ?
Right now, I can find onReady function in Ext.setup, but, no other callbacks.
More context:
I am displaying the chart in iPhone app. I am displaying the loading spinner before the chart is loaded. The loading spinner need to be removed only after full rendering of the chart.
Currently, I am removing the spinner on javascript onload. But, the chart takes 2 to 3 seconds after this to fully display. I would like to avoid this delay and remove the spinner only after completion of the chart rendering.