English 中文(简体)
利用Sencha MVC申请中的图表
原标题:Using Sencha Touch charts within an MVC application

我对Ext.JS和sencha感动说了新话,在我的申请中,我几乎没有增加图表。 I ve 遵循MVC tutorial,对我的看法,我最后认为:

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

    dockedItems: [...],

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

});

我想做的是利用Ext.draw在小组内部提取的习俗,但似乎无法使其发挥作用。 我究竟是哪一个方法可以用来进行绘画,哪一个方法可以界定什么? 如果任何人都能举出一个小例子,令人难以置信地提供帮助。

提前感谢。

问题回答

“Sencha s MVC”有“电话气”的例子,在sen首次罢工时相当先进。 http://www.onlinesolutions.com/blog/mobile-development/creating-a-sencha-touch-mvc-application- from-scratch-part-1/rel=“nofollow”[part 1]

如果您有工作地点,但您的图表没有提供,则确保图的集装箱作为布局(支出:装配或任何其他布局)





相关问题
ExtJS load form items/fields from database

I am using ExtJS 3 here. I would like to populate a formpanel from database with fields to be submitted. Basically, I don t know witch fields my form will have and I want to generate all formpanel ...

How to use Ext JS for role based application

I am planning to use Ext JS for a large application. The application s features are role based. When user login, they only see menu and screen features related to them. My server side technology will ...

Dynamically adding a TabPanel to a Panel Region

I have a Panel layout with a TreePanel in one region. A user clicks on an node in the tree and a TabPanel should be displayed in another region with information, editing tools etc. for that tree node....

How to embed Json result within Extjs Panel?

I have some issues with Json result and embed it within the html of the Extjs Panel. Here s that I have managed to get so far. myPanel is embedded within a mainPanel, and I have some shows/hide of ...

Ajax data update. Extjs

I need to keep certain data ( in a grid) up to date and was gonna do a poll to the server every 15 seocnds or so to get the data and refresh the grid, however it feels a bit dirty ( the grid will have ...

Better way to call superclass method in ExtJS

All the ExtJS documentation and examples I have read suggest calling superclass methods like this: MyApp.MyPanel = Ext.extend(Ext.Panel, { initComponent: function() { // do something MyPanel ...

Merged Headers in Ext JS Grid

Is it possible to have two headers in Ext JS grids? I have to show my grid as grouped data.. for example product types and products. In my case I need a grid like this: Field | Product Type A ...

热门标签