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