highcharts / highcharts-vue

Other
685 stars 150 forks source link

Worldmap export to CSV random data #153

Closed dcr31000 closed 4 years ago

dcr31000 commented 4 years ago

Hello, I tried to export Wordmap data to CSV with Highcharts export data but it's not working fine.

For example, I used your Worldmap demo and added to Chart.vue:

import Highcharts from "highcharts";
import Exporting from "highcharts/modules/exporting";
import ExportData from "highcharts/modules/export-data";

Exporting(Highcharts);
ExportData(Highcharts);

And the result was: "Category";"Random data" "Faroe Islands";0 "United States Minor Outlying Islands";1 "United States of America";2 "Japan";3 "Seychelles";4 [...]

dcr31000 commented 4 years ago

Update: it's working fine on Highcharts 8.1.0 but not working fine since 8.1.1

dcr31000 commented 4 years ago

I reproduced this problem with Highcharts pure JS (without vue) and created an issue in Highcharts Github repository.

dcr31000 commented 4 years ago

Workaround from Highcharts: Set xAxis.type = "category".

pawelfus commented 4 years ago

Thanks! Closing as duplicate of https://github.com/highcharts/highcharts/issues/13785