Extjs #13问题怎么解决?

Extjs  #13问题怎么解决?

问题描述:

var topFieldSet = new Ext.form.FieldSet({
xtype : 'fieldset',
columnWidth : 1 ,
margin : '10 10 10 10',
height:'300',
style:'background:white;border-color:black;',//背景色
layout : 'column',
items : [ {
xtype:'fieldset',
columnWidth:2/3,
height:300,
layout:"border",
items:[{
region:'north',
id:'topCid',
height:150
},{
region:'center',
id:'bottomCid'
}]
}, {//右侧指标容器
xtype:'fieldset',
columnWidth:1/3,
id:'topRightContainerId',
height:'295',
layout : 'column',
padding:'60 0 0 50',
border:false,
fieldDefaults : {
labelAlign : 'left',
labelWidth : 180,
margin : '0 0 0 0',
padding : '0 0 0 0'
},


我要在topCid,和bottomCid位置添加highCharts柱状图,总是提示
Highcharts Error #13

Rendering div not found

This error occurs if the chart.renderTo option is misconfugured so that Highcharts is unable to find the HTML element to render the chart in.

有时用html:

添加成功了,其他地方的布局又乱了,还会提示setStyle方法未定义。

错误信息:
Uncaught TypeError: Cannot call method 'setStyle' of undefined ext-all.js:21
Uncaught Highcharts error #13: www.highcharts.com/errors/13

Uncaught TypeError: Cannot call method 'setStyle' of undefined ext-all.js:21
Uncaught Highcharts error #13: www.highcharts.com/errors/13