如何将使用highcharts创建的多个饼图保存为图像并将其导出为ex​​cel? [英] How do I save a multiple pie charts created using highcharts as an image and export it into excel?

查看:205
本文介绍了如何将使用highcharts创建的多个饼图保存为图像并将其导出为ex​​cel?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有多个使用highcharts.js创建的饼图。我已经构建了Excel导出以将表从HMTL页面导出到Excel。现在,我想导出饼图所以,当用户单击导出到Excel按钮时,所有内容都在excel文件中。这甚至可能吗?



如果不能将图表保存为图像并将其插入导出以及其他信息?



我尝试了什么:



我花了很多时间搜索解决方案,但我不喜欢我知道怎么办

解决方案

你可以使用导出模块导出模块概述| Highcharts [ ^ ]

然而,这不会生成Excel格式文件,但您可以保存图像。

也许您可以使用这样的插件:Plugins | Highcharts [ ^ ]

I have multiple pie charts that's created using highcharts.js. I have already built an Excel export to export the table from the HMTL page to Excel. Now, I would like to export the pie charts So, that when the user clicks the "Export to Excel" button everything is in the excel file. Is this even possible?

If not could I save the charts as images and insert them into the export as well as the other information?

What I have tried:

I spend a lot of time searching on solution but i don't have any idea how can i do it

解决方案

You can use the export module: Export module overview | Highcharts[^]
This however does not generate Excel format files, but you can save images.
Maybe you can use a plugin like this one: Plugins | Highcharts[^]


这篇关于如何将使用highcharts创建的多个饼图保存为图像并将其导出为ex​​cel?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆