导出高图到PDF结果在2页
Exporting Highchart To PDF Results in 2 Pages
当我们以PDF格式导出图表时,我们得到的是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
}
}
)
这是一个已知的bug,报告在这里:https://github.com/hililide-software/highcharts.com/issues/1957
相关文章:
- 有没有更好的方法来实现同样的结果?单页网站
- 在同一页上提交的Codeigner表单以空结果结束
- 将结果页链接到详细信息页
- 如何在猫鼬中对组合结果进行分页
- 谷歌博主的编号页面导航无法在搜索结果页上工作
- 结果始终分页时的服务器端分页
- 使用 jQuery 解析 XML 搜索结果页
- 如果搜索框位于_SiteLayout页(在页眉 DIV 中),如何将搜索结果返回给用户
- 自动返回到结果的第一页,重复 ng
- php-结果应该在同一页中
- angularjs不显示动态搜索结果的分页
- 搜索引擎结果页Url包括搜索值
- 使Javascript中的分页可扩展(针对大量数据库结果)
- 角度结果和分页不会在过滤器上更新
- 图像结果未显示在页面上
- Algolia Magento扩展:由于非画布菜单而渲染两次,不使用Algolias结果页
- 我们怎么能看到“;上一页结果“;如果用户从一个页面转到另一个页面&另一个
- 如何在多页结果视图中保存选择状态
- 如何在ajax搜索中重置值以分页结果
- 使用React JS进行搜索结果分页