如何在highcharts API上启用csv / xls导出数据

时间:2019-03-22 07:05:34

标签: highcharts

我正在尝试通过Highcharts实现并下载CSV / XLS,但似乎出现了故障。

我包含了如下所示的JavaScript文件;

    <!-- highcharts -->
    <script type="text/javascript" src="/node_modules/highcharts/highstock.js"></script>
    <script type="text/javascript" src="node_modules/highcharts/modules/heatmap.js"></script>
    <script type="text/javascript" src="node_modules/highcharts/highcharts-more.js"></script>
    <script type="text/javascript" src="node_modules/highcharts/modules/exporting.js"></script>
    <script type="text/javascript" src="node_modules/highcharts/modules/offline-exporting.js"></script>
    <script type="text/javascript" src="node_modules/highcharts/modules/no-data-to-display.js"></script>
    <script src="http://highcharts.github.io/export-csv/export-csv.js"></script>

因此该按钮出现,但不导出数据。

我想念什么吗?

0 个答案:

没有答案