Reputation: 285
Is Sencha Touch Charts 1 compatible with Sencha Touch 2?
e.g.
I was hoping that this in an html (where ../touch
is the Sencha Touch 2 release):
<title>Simple Animation with Sprites</title>
<script type="text/javascript" src="../touch-charts/sencha-touch-debug.js"></script>
<script type="text/javascript" src="../touch-charts/touch-charts-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
And app.js
containing:
Ext.application({
name: 'Animation',
requires: [
'Ext.draw.Component'
],
launch: function() {
var titleVisible = false;
var drawComponent = new Ext.draw.Component({
items: [{
type: 'circle',
fill: '#EECC00',
radius: 100,
x: 200,
y: 200
}]
});
Ext.Viewport.add({
xtype: 'panel',
id: 'panel-container',
fullscreen: true,
layout: fit,
items: [drawComponent]
});
drawComponent.surface.renderFrame();
}
});
might give me a circle.
Instead I get an exception on line 339 of touch-charts-debug.js
indicating that Ext.util.Observable
does not exist.
Does this mean that Charts 1 is not compatible with Touch 2?
Upvotes: 0
Views: 1442
Reputation: 4952
Sencha Touch 2.1 Beta is now available which supports charts
Here is the link: http://dev.sencha.com/deploy/sencha-touch-2.1.0-b2.zip
Release Notes: http://dev.sencha.com/deploy/sencha-touch-2.1.0-b2/release-notes.html
Hope it helps you
Upvotes: 0
Reputation: 157
Just announced:
http://notes.sencha.com/post/18941258668/sencha-touch-charts-2-beta-is-now-available-for
Upvotes: 1
Reputation: 7225
No, they are not compatible.
Sencha have said that a beta release of Sencha Touch 2 Charts will be available within a few weeks.
Upvotes: 1