微风吹过的夏天2016
2015-05-07 07:11
采纳率: 100%
浏览 1.7k
已采纳

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条回答 默认 最新

  • 微风吹过的夏天2016 2015-05-07 07:51
    已采纳

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

    点赞 打赏 评论
  • 醉墨涵湫 2015-05-07 08:10

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

    点赞 打赏 评论

相关推荐 更多相似问题