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方法未定义。

2个回答

错误信息:
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

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐