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?
Just announced:
http://notes.sencha.com/post/18941258668/sencha-touch-charts-2-beta-is-now-available-for