简体   繁体   English

下载不同按钮上的Highchart图

[英]Download Highchart Graph on different button click

I have a Highchart chart in my application and I don't want to use the inbuilt download button of Highcharts to download the chart. 我的应用程序中有一个Highchart图表,并且我不想使用Highcharts的内置下载按钮来下载图表。 What I want is to have some Download button outside the Highchart and upon clicking on that Download button it should download the chart. 我想要的是在Highchart外部有一些“下载”按钮,然后单击该“下载”按钮,它应该下载图表。 Can this be done in Highcharts? 可以在Highcharts中完成吗?

Have a look at this documentation I found. 看看我发现的这份文件。

https://www.highcharts.com/docs/export-module/export-module-overview https://www.highcharts.com/docs/export-module/export-module-overview

To unleash the full power of HTML5, it is also possible to fully disregard our built-in button and menu, and build your own buttons or links that call Chart.print() or Chart.exportChart() with parameters. 要释放HTML5的全部功能,还可以完全忽略我们的内置按钮和菜单,并构建自己的按钮或带有参数的调用Chart.print()或Chart.exportChart()的链接。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM