21 Mar 2012 7:36 PM #1
Unanswered: How to use Touch Charts 2 Beta with Microloader?
How to use Touch Charts 2 Beta with Microloader in the Sencha Touch 2 development environment?
I have tried copying the src directory of Touch-Charts-2 Beta to the sdk/src, tried including touch-charts.js in the app.json still no luck.
An example would help.
22 Mar 2012 2:22 AM #2
It worked for me but I get [ERROR] sencha app build production
So the way I was able to make it work was:
1. Copied touch-charts src from beta 2.0 release to src for touch 2.0
2. Also copied touch-charts in sdk folder
2. In app.json, I added touch-charts.js
3. In app.'s added the following
4. In index.html, to debug and use cache added the following below
But my problem is:
I would like to build a production build, So when I run
sencha app build production
LDBTest smocker$ sencha app build production
[INFO] Deploying your application to codebase/dashboards/ldashboard/war/LDBTest/build/production
[INFO] Copied sdk/sencha-touch.js
[INFO] Copied app.js
[INFO] Copied resources/css/app.css
[INFO] Copied resources/images
[INFO] Copied resources/icons
[INFO] Copied resources/loading
[INFO] Resolving your application dependencies...
Instead of having touch-charts.js as separate file, I appended the contents to the end of sencha-touch.js, but that also did not resolve anything.
Can anyone tell me how to resolve this problem or get more information than just the [ERROR]
22 Mar 2012 10:22 AM #3
Can you provide a sample View code which worked for you?
I tried to use the Energy App and other examples provided with Touch Charts Beta 2 but got Errors like the following:
Uncaught TypeError: Cannot read property 'pseudos' of undefined/sdk/touch-charts.js:7044
22 Mar 2012 12:30 PM #4