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 94 forks source link

Multiple X-axis not exported. #119

Closed Ben1902 closed 7 years ago

Ben1902 commented 7 years ago

I have two series, with each respective X-axis. This is because each series has it own timestamp, that is set as the xAxis category (array). I hoped when exporting, it would export in xls columns like this:

X[0]; All Y belongs to X0; X[1]; All Y belongs to X1;

and so on.. Is there always only one and first X axis that is exported?

BR Benjamin Kruger

multiplex

TorsteinHonsi commented 7 years ago

Thanks for writing! Currently only the first X axis is exported, but I agree this is a useful enhancement.

Live demo: http://jsfiddle.net/highcharts/cqjvD/1344/

Ben1902 commented 7 years ago

I will be happy if someone has any kind of workaround for my issue..

/Ben

TorsteinHonsi commented 7 years ago

See http://jsfiddle.net/highcharts/cqjvD/1345/ for a demo of the fix.