PDA

View Full Version : sencha touch 2 and sencha chart include error



jeanluca
10 Jan 2012, 2:11 PM
Hello

I've followed the Sencha Touch 2 Getting Started Guide. All very nice, but now I'm trying to integrate the touch charts and getting the following error in my console:




Uncaught Error: [Ext.extend] Attempting to extend from a class which has not been loaded on the page.

Ext.extend sencha-touch-all.js:15 (http://localhost/~QNH/sencha2/touch/sencha-touch-all.js)
(anonymous function)



Here is my index.html files


<!DOCTYPE html><html>
<head>
<title>Getting Started</title>
<link rel="stylesheet" href="touch/resources/css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="touch/sencha-touch-all.js"></script>
<script type="text/javascript" src="touch-charts/touch-charts-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>

So I've downloaded The free Sencha Touch 2.0 SDK (http://www.sencha.com/blog/sencha-touch-2-developer-preview/) and the charts from here
(http://www.sencha.com/products/touch/charts/)Any suggestions what causes this error ?

Cheers
Luca

mitchellsimoens
11 Jan 2012, 6:21 AM
The Touch Charts are not supported in ST2.

travmason
1 Feb 2012, 8:05 PM
Is there an ETA on when Charts will be updated to 2.x?

EZboy
16 Feb 2012, 7:17 AM
+1 any timelines?

edspencer
16 Feb 2012, 11:14 AM
I won't give out any dates, but the Charts team is actively tracking Touch 2.0 and expects to ship a beta not long after we GA

EZboy
16 Feb 2012, 11:34 AM
Thanks, good to know

travmason
16 Feb 2012, 8:35 PM
Thanks!

sinclas
13 Apr 2012, 7:28 PM
Took me a few hours, then I found this thread that indicated that the Charts are unsupported with ST2. Where can I go to find updates for the Charts and ST2 ? I am actively building a solution in ST2 and would like to get Charts in there!!! They are soooo cool. Nice job, awaiting!

mitchellsimoens
16 Apr 2012, 3:59 AM
Touch Charts 2 beta is available. Check for a link on the right side under Related Downloads

http://www.sencha.com/products/charts/download/

sinclas
16 Apr 2012, 4:18 AM
Thanks for the update! Exciting stuff.