0

Sencha Touch Charts 1 是否与 Sencha Touch 2 兼容?

例如

我希望这是在一个 html 中(../touchSencha Touch 2 版本在哪里):

<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>

app.js包含:

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();
    }
});

可能会给我一个圈子。

相反,我在第 339 行得到一个异常,touch-charts-debug.js指出Ext.util.Observable不存在。

这是否意味着 Charts 1 与 Touch 2 不兼容?

4

3 回答 3

1

不,它们不兼容。

Sencha 表示将在几周内发布 Sencha Touch 2 Charts 的 beta 版本。

于 2012-03-07T21:36:21.963 回答
1

刚刚宣布:

http://notes.sencha.com/post/18941258668/sencha-touch-charts-2-beta-is-now-available-for

于 2012-03-08T12:05:01.830 回答
0

Sencha Touch 2.1 Beta 现已推出,支持图表

这是链接:http ://dev.sencha.com/deploy/sencha-touch-2.1.0-b2.zip

发行说明:http ://dev.sencha.com/deploy/sencha-touch-2.1.0-b2/release-notes.html

希望对你有帮助

于 2012-09-09T09:50:43.983 回答