csv property

HighchartsExportingCsvOptions? csv
getter/setter pair

Options for exporting data to CSV or ExCel, or displaying the data in a HTML table or a JavaScript structure.

This module adds data export options to the export menu and provides functions like Exporting.getCSV, Exporting.getTable, Exporting.getDataRows and Exporting.viewData.

The XLS converter is limited and only creates a HTML string that is passed for download, which works but creates a warning before opening. The workaround for this is to use a third party XLSX converter, as demonstrated in the sample below.

API Docs: https://api.highcharts.com/highcharts/exporting.csv

Implementation

HighchartsExportingCsvOptions? csv;