【问题标题】:Event ExportData in HighchartsHighcharts 中的事件导出数据
【发布时间】:2019-10-22 03:13:31
【问题描述】:

我正在搜索在 Highcharts 中使用 exportData 事件的示例

https://api.highcharts.com/highcharts/chart.events.exportData

我没有找到任何示例,有人可以帮助我吗?

【问题讨论】:

    标签: highcharts


    【解决方案1】:

    您需要添加exportingexport-data 模块并在上下文菜单中单击例如“查看数据表”:

    chart: {
        events: {
            exportData: function() {
                alert('export data!');
            }
        }
    }
    

    现场演示: http://jsfiddle.net/BlackLabel/50vx6ad8/

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

    【讨论】:

      猜你喜欢
      • 2014-08-07
      • 1970-01-01
      • 2020-08-02
      • 1970-01-01
      • 1970-01-01
      • 2018-04-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多