View Full Version : Using Ext.extend

Steffen Hiller
13 Sep 2011, 7:41 AM
When I define a chart in a separate class,
I get the error

touch-charts-debug.js:9625 Uncaught TypeError: Object #<Object> has no method 'orient'
Ext.chart.Chart.Ext.extend.redraw touch-charts-debug.js:9625
Ext.chart.Chart.Ext.extend.doComponentLayout touch-charts-debug.js:9552

I'm defining it like this:

App.views.charts.Chart1 = Ext.extend(Ext.chart.Chart, {});

The same configuration within the Panel works.

20 Sep 2011, 3:38 PM
I have this exact same issue.

17 Dec 2011, 8:34 AM
Me too.