highcharts / export-csv

Highcharts plugin to export chart data to CSV
http://www.highcharts.com/plugin-registry/single/7/Export-CSV
MIT License
76 stars 95 forks source link

Not able to add custom data along with csv while downloading using export-csv.js (highcharts) #141

Open ranjithrb opened 6 years ago

ranjithrb commented 6 years ago

Hi, I have implemented the csv download by adding an export-csv.js file to ng2-highcharts.

App Module

const hc = require('highcharts');
const exp = require('highcharts/modules/exporting');
const csv = require('highcharts-export-csv/export-csv');

exp(hc);
csv(hc); 

On adding these, "Download CSV" option came.

The problem here is I'm not able to add custom data to my exported CSV. How can I add custom data ?