5 Aug 2012 11:32 PM #1
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.
Thanks in advance.
8 Aug 2012 5:46 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Do you mean when it is rendered or when the data is displayed which if you are loading remote data can happen at two different times?Mitchell Simoens @LikelyMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
6 Sep 2012 11:55 PM #3
I mean, once the chart is rendered fully.
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.