Highcharts,如何在导出PDF时显示数据表而在正常时不显示pdf
Highcharts, How to show datatable when export PDF and not show pdf when normal
Help me please,
Highcharts,如何在导出 pdf 时显示数据 table 而在正常情况下不显示数据 table,如下所示:
[http://jsfiddle.net/highcharts/z9zXM/]
But can show data table when export pdf or print only.
我根据 FAQ 对官方演示进行了一些更改 - https://www.highcharts.com/docs/getting-started/frequently-asked-questions#can-i-add-a-data-table-to-the-exported-chart to render table only for export. Take a look and test it: https://jsfiddle.net/BlackLabel/fwtu48s3/
events: {
load() {
if (this.renderer.forExport) {
Highcharts.drawTable(this);
}
}
},
Help me please,
Highcharts,如何在导出 pdf 时显示数据 table 而在正常情况下不显示数据 table,如下所示: [http://jsfiddle.net/highcharts/z9zXM/]
But can show data table when export pdf or print only.
我根据 FAQ 对官方演示进行了一些更改 - https://www.highcharts.com/docs/getting-started/frequently-asked-questions#can-i-add-a-data-table-to-the-exported-chart to render table only for export. Take a look and test it: https://jsfiddle.net/BlackLabel/fwtu48s3/
events: {
load() {
if (this.renderer.forExport) {
Highcharts.drawTable(this);
}
}
},