PDA

View Full Version : Uncaught TypeError: Cannot read property 'selectors' of undefined Theme.js:69



raorepalle
24 Aug 2012, 12:08 PM
Getting the following exception while trying sencha charts 2 beta version




Uncaught TypeError: Cannot read property 'selectors' of undefined Theme.js:69 (http://127.0.0.1:8020/mReports/sdk/src/chart/theme/Theme.js?_dc=1345838718403)

Ext.define.applyStylesTheme.js:69 (http://127.0.0.1:8020/mReports/sdk/src/chart/theme/Theme.js?_dc=1345838718403)
Ext.define.applyStylesChart.js:484 (http://127.0.0.1:8020/mReports/sdk/src/chart/Chart.js?_dc=1345838718374)
Ext.define.constructorChart.js:473 (http://127.0.0.1:8020/mReports/sdk/src/chart/Chart.js?_dc=1345838718374)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.initializeNewsIndexGraph.js:51 (http://127.0.0.1:8020/mReports/app/view/NewsIndexGraph.js?_dc=1345838718351)
Ext.define.constructorComponent.js:931 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.ClassManager.instantiateByAliassencha-touch.js:6309 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9355 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemContainer.js:599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.applyItemsContainer.js:517 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.generateSetter.settersencha-touch.js:5192 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.generateInitGettersencha-touch.js:5225 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.applyActiveItemContainer.js:1181 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
(anonymous function)Evented.js:23 (http://127.0.0.1:8020/mReports/sdk/src/Evented.js?_dc=1345838717573)
Base.implement.initConfigsencha-touch.js:4666 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorComponent.js:929 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.ClassManager.instantiateByAliassencha-touch.js:6309 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9355 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemContainer.js:599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.applyItemsContainer.js:517 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.generateSetter.settersencha-touch.js:5192 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.generateInitGettersencha-touch.js:5225 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.applyActiveItemContainer.js:1181 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
(anonymous function)Evented.js:23 (http://127.0.0.1:8020/mReports/sdk/src/Evented.js?_dc=1345838717573)
Base.implement.initConfigsencha-touch.js:4666 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorComponent.js:929 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9373 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemContainer.js:599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.applyItemsContainer.js:517 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.generateSetter.settersencha-touch.js:5192 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.generateInitGettersencha-touch.js:5225 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.applyActiveItemView.js:356 (http://127.0.0.1:8020/mReports/sdk/src/navigation/View.js?_dc=1345838718311)
(anonymous function)Evented.js:23 (http://127.0.0.1:8020/mReports/sdk/src/Evented.js?_dc=1345838717573)
Base.implement.initConfigsencha-touch.js:4666 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorComponent.js:929 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.ClassManager.instantiateByAliassencha-touch.js:6309 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9355 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemWithDefaultsContainer.js:645 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.factoryItemWithDefaultsContainer.js:1599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.initializeYesterdayNewsDetails.js:32 (http://127.0.0.1:8020/mReports/app/view/YesterdayNewsDetails.js?_dc=1345838718320)
Ext.define.constructorComponent.js:931 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.ClassManager.instantiateByAliassencha-touch.js:6309 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9355 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemWithDefaultsContainer.js:645 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.factoryItemWithDefaultsContainer.js:1599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.applyItemsContainer.js:517 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.generateSetter.settersencha-touch.js:5192 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.generateInitGettersencha-touch.js:5225 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.applyActiveItemContainer.js:1181 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
(anonymous function)Evented.js:23 (http://127.0.0.1:8020/mReports/sdk/src/Evented.js?_dc=1345838717573)
Base.implement.initConfigsencha-touch.js:4666 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorComponent.js:929 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.override.constructorComponent.js:2478 (http://127.0.0.1:8020/mReports/sdk/src/Component.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.constructorContainer.js:349 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.constructorContainer.js:1485 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.apply.create.Classsencha-touch.js:4919 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)
Ext.ClassManager.instantiatesencha-touch.js:6391 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.ClassManager.instantiateByAliassencha-touch.js:6309 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.factorysencha-touch.js:9355 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.factoryItemContainer.js:599 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.addContainer.js:671 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Base.implement.callParentsencha-touch.js:4524 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
override.addContainer.js:1524 (http://127.0.0.1:8020/mReports/sdk/src/Container.js?_dc=1345838717441)
Ext.define.launchTablet.js:18 (http://127.0.0.1:8020/mReports/app/profile/Tablet.js?_dc=1345838718302)
Ext.define.onDependenciesLoadedApplication.js:598 (http://127.0.0.1:8020/mReports/sdk/src/app/Application.js?_dc=1345838717961)
Ext.apply.requiresencha-touch.js:7793 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)sencha-touch.js:3198 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.define.loadControllerDependenciesApplication.js:567 (http://127.0.0.1:8020/mReports/sdk/src/app/Application.js?_dc=1345838717961)
Ext.apply.refreshQueuesencha-touch.js:7542 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.refreshQueuesencha-touch.js:7543 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.onFileLoadedsencha-touch.js:7866 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
(anonymous function)sencha-touch.js:3184 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)
Ext.apply.injectScriptElement.onLoadFnsencha-touch.js:7561 (http://127.0.0.1:8020/mReports/sdk/sencha-touch.js)

Here is the code

Ext.define("mReports.view.NewsIndexGraph", {
extend : 'Ext.Panel',
xtype : 'newsindexgraph',
style : 'border:solid;border-radius:25px;border-color:lightgray ;border-width:10px;',
requires : ['Ext.chart.Panel', 'Ext.chart.axis.Numeric', 'Ext.chart.Chart','Ext.chart.Panel',
'Ext.chart.axis.Category', 'Ext.chart.series.Pie',
'Ext.chart.series.Series'],
initialize : function() {


this.callParent(arguments);


var graphPanel = {
xtype : 'panel',
html : 'News Index Graph here'
};
var data = [], i;
var floor = 20;
var n = 20;
floor = (!floor && floor !== 0) ? 20 : floor;


for (i = 0; i < (n || 12); i++) {
console.log("Month = " + Ext.Date.monthNames[i % 12]);
data.push({
name : Ext.Date.monthNames[i % 12],
2007 : 5


});
};
Ext.define('User', {
extend : 'Ext.data.Model',
config : {
fields : [{
name : 'name'
},


{
name : '2007',
type : 'int'
}


]
}
});


var storec1 = Ext.create('Ext.data.Store', {
model : 'User',
// fields: ['name', 'data1', 'data2', 'data3', '2003', '2004', '2005', '2006', '2007', '2008', '2009', '2010', 'iphone', 'android', 'ipad'],
data : data
});

var chart = new Ext.chart.Chart({
themeCls : 'pie1',
theme : 'Demo',
store : storec1,
shadow : false,
animate : true,
insetPadding : 20,
legend : {
position : 'right'
},
interactions : [{
type : 'reset',
confirm : true
}, {
type : 'rotate'
}, 'itemhighlight', {
type : 'iteminfo',
gesture : 'longpress',
listeners : {
show : function(interaction, item, panel) {
var storeItem = item.storeItem;
console.log(storeItem);
panel.setHtml([
'<ul><li><b>Month: </b>'
+ storeItem.get('name')
+ '</li>',
'<li><b>Value: </b> '
+ storeItem.get('2007')
+ '</li></ul>']
.join(''));
}
}
}],
series : [{
type : 'pie',
field : '2007',
showInLegend : true,
highlight : false,
listeners : {
'labelOverflow' : function(label, item) {
item.useCallout = true;
}
},
// Example to return as soon as styling arrives for callouts
callouts : {
renderer : function(callout, storeItem) {
callout.label.setAttributes({
text : storeItem
.get('name')


}, true);

},
filter : function() {
return false;
},
box : {
//no config here.
},
lines : {
'stroke-width' : 2,
offsetFromViz : 20
},
label : {
font : 'italic 14px Arial'
},
styles : {
font : '14px Arial'
}
},
label : {
field : 'name'
}
}]
});
// var drawComponent = new Ext.draw.Component({
// items : [{
// type : 'circle',
// fill : '#79BB3F',
// radius : 100,
// x : 100,
// y : 100
// }]
// });
var chartPanel = Ext.create('Ext.Panel', {
fullscreen : true,
title : 'title',
buttons : [{
xtype : 'button',
iconCls : 'help',
iconMask : true,
ui : 'plain'
// handler: onHelpTap
}, {
xtype : 'button',
iconCls : 'shuffle',
iconMask : true,
ui : 'plain'
// handler : onRefreshTap
}],
chart : graphPanel
});


var chartPanel1 = new Ext.Panel({
fullscreen : true,
items : [drawComponent]
});


this.add([chartPanel]);
}


// ,
// config : {
// border : 3,
// layout : 'vbox'
// }
// config:
// {
// html : 'News Index Graph here'
// },
// launch: function() {
// console.log("NewsIndexGraph launch Called");
//
// }


});

mitchellsimoens
26 Aug 2012, 5:56 AM
Have you tried with the new charts built into ST 2.1.0?

raorepalle
27 Aug 2012, 7:51 AM
Where can I find ST 2.1.0?

mitchellsimoens
27 Aug 2012, 8:06 AM
Where can I find ST 2.1.0?

http://www.sencha.com/forum/announcement.php?f=91&a=36

raorepalle
28 Aug 2012, 5:39 AM
Even with the ST 2.1.0 getting the same kind of error. Can you please provide some graphs example. Basically I am looking for Pie graph.

Thanks,
Venakt

lilford.immanuel
12 Oct 2012, 12:13 PM
Any solution guys????