7 Sep 2012 5:20 AM #1
Unanswered: Chart component without DOM element
I have a Touch 2.0.1-application with the seperated Touch Charts module (2.0.0-beta).
In my application I have a Carousel component which holds multiple Panels with a chart in it. The user can decide in what chart he wants to see the data (pie, line or bar).
So I decided that when the user changes the chart type. I remove the old chart from the panel and add a new chart in it.
The problem is that the new chart is not shown. I don't get an error and when I do a console.log on the panel, the chart component is created but there are no DOM elements created.
The chartBBox property has all properties on 0 and in the elemt property there are no childNodes set.
Can anybody help me out?
10 Sep 2012 4:30 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Try upgrading to 2.1.0 b2, the charts have been rewritten and are now included in the framework. The touch charts 2 beta is deprecated in favor of these new ones.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.