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

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

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 对于这个问题的代码运行
  • ¥50 三种调度算法报错 有实例
  • ¥15 关于#python#的问题,请各位专家解答!
  • ¥200 询问:python实现大地主题正反算的程序设计,有偿
  • ¥15 smptlib使用465端口发送邮件失败
  • ¥200 总是报错,能帮助用python实现程序实现高斯正反算吗?有偿
  • ¥15 对于squad数据集的基于bert模型的微调
  • ¥15 为什么我运行这个网络会出现以下报错?CRNN神经网络
  • ¥20 steam下载游戏占用内存
  • ¥15 CST保存项目时失败