Highcharts将导出添加为csv [英] Highcharts add export as csv

查看:75
本文介绍了Highcharts将导出添加为csv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用highcharts js库,我想将导出功能添加为csv。

I am using the highcharts js library and i want to add the feature of exporting as csv.

我在文件modules / exports.js中添加了选项但我不知道下一步该做什么。

I have added the option in the file modules/exporting.js but i dont know what to do next.

任何人都可以帮我一把吗?

Can anyone give me a hand?

推荐答案

这是一个关于如何修改按钮的示例。您可以使用csv导出添加自定义按钮,然后在服务器端创建一个字符串并将其导出。

Here is an example on how to modify the buttons. You can add a custom button with your csv export and then in the server side just create a string and export it.

这篇关于Highcharts将导出添加为csv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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