You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The exported file should do what the export-csv plugin does and use the chart title as the downloaded filename, defaulting back to the existing 'chart' string if no title exists.
The text was updated successfully, but these errors were encountered:
Sorry but that won't happen or at least that way. The documentation for the HighCharts export plugin (PNG/…) states that default filename is “chart” without the extension: http://api.highcharts.com/highcharts#exporting.filename
export-csv in the other, while done by the same guys is clearly unofficial and patched in under a unified API.
What I can do though is extend the actual API by allowing functions to be used for this configuration option, and expose one so that's easy to achieve. You could actually define it globally.
https://github.com/highslide-software/export-csv/blob/master/export-csv.js#L185
https://github.com/highslide-software/export-csv/blob/master/export-csv.js#L194
The exported file should do what the export-csv plugin does and use the chart title as the downloaded filename, defaulting back to the existing 'chart' string if no title exists.
The text was updated successfully, but these errors were encountered: