问题描述
当我尝试使用modules/exporting.js
将HighCharts图表导出到图像时,下载的图像仅包含部分图表。设置不同的widht
/ height
/ sourceWidth
/ sourceHeight
并不能解决问题。试图将我的数据插入jsfiddle示例-正常下载的png。
什么会导致此问题?
UPD: 这是我的图表设置
options: {
chart: {
type: 'line',backgroundColor: '#fff',height: 600
},title: { text: '' },subtitle: { text: '' },yAxis: {
gridLineWidth: 0,title: { text: 'Percentage' },min: 0,max: 100
},xAxis: {
tickInterval: 1,gridLineWidth: 1,minorTickInterval: 1,labels: {
enabled: false
},max: 120,scrollbar: {
enabled: true
}
},tooltip: {
pointFormat: '{point.tooltip}{series.name}: {point.y}%'
},plotOptions: {
series: {
cursor: 'pointer',turboThreshold: 0
}
},series: [ ],credits: { enabled: false },exporting: {
enabled: true,chartOptions: {
legend: { enabled: true },xAxis: [{ labels: { style: { fontSize: '5px' } } }]
}
}
}
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)