Uncaught TypeError: Cannot read property 'emptyForce' of undefined ( Jqplot )
Uncaught TypeError: Cannot read property 'emptyForce' of undefined ( Jqplot )
关于 方向改变 事件 phone 我重新绘制图形:
$( window ).on( "orientationchange", function( event ) {
$('#flot-chart-line-cumul-sales').empty();
setTimeout(function() {
plotLineSales.replot({resetAxes:true});
}, 200);
}
jqplot 在文件 jqplot.pointLabels.min.js 的控制台中启动此 error 此时 t._elems[w].emptyForce():
Uncaught TypeError: Cannot read property 'emptyForce' of undefined
仅供参考:也许可以提供帮助,这是 jqplot 的点标签代码:
series:[
{
label:'Open + Closed',
color:' #4BB2C5',
pointLabels:
{
show:true,
ypadding: 7,
stackedValue: false,
hideZeros: false,
formatString:'%d',
escapeHTML:false
}
},
{
label:'Closed',
color:' #EAA228',
pointLabels:
{
show:true,
ypadding: -25,
stackedValue: false,
hideZeros: false,
formatString:'%d',
escapeHTML:false
}
},
],
谁能帮帮我?
这个快速修复工作。
在jqplot.pointLabels.min.js我改了
t._elems[w].emptyForce()
和
if(t._elems[w]) t._elems[w].emptyForce();
关于 方向改变 事件 phone 我重新绘制图形:
$( window ).on( "orientationchange", function( event ) {
$('#flot-chart-line-cumul-sales').empty();
setTimeout(function() {
plotLineSales.replot({resetAxes:true});
}, 200);
}
jqplot 在文件 jqplot.pointLabels.min.js 的控制台中启动此 error 此时 t._elems[w].emptyForce():
Uncaught TypeError: Cannot read property 'emptyForce' of undefined
仅供参考:也许可以提供帮助,这是 jqplot 的点标签代码:
series:[
{
label:'Open + Closed',
color:' #4BB2C5',
pointLabels:
{
show:true,
ypadding: 7,
stackedValue: false,
hideZeros: false,
formatString:'%d',
escapeHTML:false
}
},
{
label:'Closed',
color:' #EAA228',
pointLabels:
{
show:true,
ypadding: -25,
stackedValue: false,
hideZeros: false,
formatString:'%d',
escapeHTML:false
}
},
],
谁能帮帮我?
这个快速修复工作。
在jqplot.pointLabels.min.js我改了
t._elems[w].emptyForce()
和
if(t._elems[w]) t._elems[w].emptyForce();