1
当我们以PDF格式导出图表时,我们得到的东西看起来像是PDF文件中的2页。现场演示它here。我们不确定是什么原因造成的。将Highchart导出为PDF格式的结果分为2页
当我们的出口,我们正在改变,像这样的图表属性:
chartMainLoc.exportChart(
{
type: 'application/pdf',
sourceHeight: this.chartHeight,
sourceWidth: this.chartWidth,
scale: 1
},
{
title: {
text: '<span style="font-weight:bold">Labor Force, Employment and Unemployment for Pinellas County in June, 2013</span><br /><br /><span style="font-weight:bold;font-size:9pt">Labor Force Graph</span><br /><br /><span style="font-size:10px; font-weight:normal">The graph below shows the monthly not seasonally adjusted Labor Force, Employment and Unemployment data for Pinellas County in June, 2013.</span>'
},
subtitle: {
text: 'Source: Labor Market Statistics, Local Area Unemployment Statistics Program and Online Advertised Job Data<br />Downloaded: 06/10/2014 4:20 PM'
},
legend: {
y: -50
},
chart: {
spacingLeft: 0,
spacingBottom: 10,
shadow: false,
height: chartMainLoc.chartHeight + 20
}
}
)
好。最后一次改变是一年前。 – wergeld
如何解决这个现在如果是一年前被修复并关闭? – wergeld
那么它应该在4.0.1版本中修复,你是否可以像现场一样复制你的演示,然后我将重新打开这张票 –