每当我将图表的标题设置为null时,我就不能再单击图表的下载菜单了。
以下是一个示例:http://jsfiddle.net/JVNjs/954/
var chart = new Highcharts.Chart({
chart: {
renderTo:'container',
borderWidth:1,
plotBorderWidth:1
},
title:{
text:null
},
subTitle:{
text:null
},
credits:{enabled:false},
legend:{
},
plotOptions: {
series: {
shadow:false,
borderWidth:0,
}
},
xAxis:{
lineColor:'#999',
lineWidth:1,
tickColor:'#666',
tickLength:3,
title:{
text:'X Axis Title'
}
},
yAxis:{
lineColor:'#999',
lineWidth:1,
tickColor:'#666',
tickWidth:1,
tickLength:3,
gridLineColor:'#ddd',
title:{
text:'Y Axis Title',
rotation:0,
margin:50,
}
},
series: [{
data: [7,12,16,32,60]
}]
有什么想法吗?
答案 0 :(得分:0)
问题仅由jsfiddle text overlap
引起。如果你运行完整的展示,如下所示:http://jsfiddle.net/JVNjs/954/show/那么一切正常。