20 Aug 2012 11:50 PM #1
2.1.0 B2 Charts
Has anyone successfully implemented Charts (ST 2.1.0 B2) in SA. I am having big problems and would love to see a small project where it works?
I keep getting:
Uncaught TypeError: Cannot call method 'substring' of undefined
22 Aug 2012 12:38 PM #2
Sorry for the early bump. But I really need this to work very soon. Any?
23 Aug 2012 3:08 PM #3
Hrm? There is no Touch 2.1.x support yet in Architect.
You could implement this via an override.Aaron Conran
23 Aug 2012 9:06 PM #4
23 Aug 2012 11:53 PM #5
Switch to code view, click Override button: hand coding...
23 Aug 2012 11:55 PM #6
I am very confused now.
What I need is to implement Sencha Touch 2.1 B2 so I can use the build-in Charts. If I just point to the 2.1B2 source I get errors when I try to create a chart.
How should a Override fix it?
24 Aug 2012 7:06 AM #7
The reason an override 'fixes' it is that we don't run overrides within Architect. The code is not being executed in the canvas. Also, when you point the library's base path configuration to something new (like 2.1b2) we continue to use whatever known good stable version the library is associated with in this case 126.96.36.199.Aaron Conran
24 Aug 2012 7:22 AM #8
24 Aug 2012 7:29 AM #9
The error is probably a bug in the beta or a bug in your code. I'd suggest you post in the touch forums about the configuration you are using etc.
On a side note, I'm using touch charts in a weekend project I'm writing and they are working, but I did run into a couple bugs within charts that I reported to the touch team.Aaron Conran
24 Aug 2012 7:51 AM #10