Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Sencha touch 在MVC应用程序中使用Sencha触摸图_Sencha Touch_Extjs_Sencha Charts - Fatal编程技术网

Sencha touch 在MVC应用程序中使用Sencha触摸图

Sencha touch 在MVC应用程序中使用Sencha触摸图,sencha-touch,extjs,sencha-charts,Sencha Touch,Extjs,Sencha Charts,我是Ext.JS和sencha touch的新手,在向我的一个应用程序添加图表时遇到了一些问题。我在网站上关注了MVC,对于我的每一个观点,我都得出了这样的结论: app.views.ViewName = Ext.extend(Ext.Panel, { dockedItems: [...], initComponent: function() { ... app.views.ViewName.superclass.initComponent.a

我是Ext.JS和sencha touch的新手,在向我的一个应用程序添加图表时遇到了一些问题。我在网站上关注了MVC,对于我的每一个观点,我都得出了这样的结论:

app.views.ViewName = Ext.extend(Ext.Panel, {

    dockedItems: [...],

    initComponent: function() {
        ...
        app.views.ViewName.superclass.initComponent.apply(this, arguments);
    }

});
我想做的是使用Ext.draw在面板内自定义绘图,但似乎无法使其正常工作。我应该在哪里调用renderFrame()方法来执行绘图,定义要绘制的内容的代码应该在哪里?如果有人能提供一个小例子,那将是非常有帮助的


提前感谢。

Sencha的MVC和PhoneGap示例对于Sencha的第一次打击来说是相当先进的。你可能想看看这些


如果您有一个站点正在工作,但您的图表没有呈现,请确保图表的容器作为布局(布局:“fit”或任何其他布局)

Sencha的MVC with PhoneGap示例对于Sencha的第一次攻击来说是非常先进的。你可能想看看这些

如果站点正在工作,但图表未呈现,请确保图表的容器为布局(布局:“适合”或任何其他布局)