Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export data in CSV : React #2

Closed
deepak-shah-np opened this issue Jan 2, 2018 · 4 comments
Closed

Export data in CSV : React #2

deepak-shah-np opened this issue Jan 2, 2018 · 4 comments

Comments

@deepak-shah-np
Copy link

How can I export data in CSV and XLS format?

@pawelfus
Copy link

pawelfus commented Jan 4, 2018

Hi @hello-deepak

You need to include module export-data.js (after exporting.js module) and then you can configure your chart as always: https://api.highcharts.com/highcharts/exporting.csv

@deepak-shah-np
Copy link
Author

Here is the right answer !
kirjs/react-highcharts#355

@pawelfus
Copy link

Well.. I don't know how this should work for react-highcharts, but highcharts-export-csv is a deprecated package since May 2017, see: https://www.npmjs.com/package/highcharts-export-csv#deprecation-notice

@KacperMadej

@KacperMadej
Copy link

For highcharts-react you only need to load the proper module in proper order.

Demo:
after this line
add require('highcharts/modules/export-data')(Highcharts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants