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
Added simply the CDN they provided in fiddle in index.html (Error Highcharts undefined)
2.Imported the export-data.js where i have used the charts (No errors but still dosnt shows the export csv)
The text was updated successfully, but these errors were encountered:
I loaded export-data.js here and it works fine. https://codepen.io/shezk/pen/jxEbvx
while importing the the same script in vue component wont work see example:
import Highcharts from 'highcharts'
import 'highcharts/modules/export-data'
import loadExporting from 'highcharts/modules/exporting'
import loadHighchartsMore from 'highcharts/highcharts-more'
import loadHighchartsNoDataToDisplay from 'highcharts-no-data-to-display'
loadExporting(Highcharts)
loadHighchartsMore(Highcharts)
loadHighchartsNoDataToDisplay(Highcharts)
I made it work. seems like i was importing export-data.js before exporting and was not using
import Highcharts from 'highcharts'
import loadExporting from 'highcharts/modules/exporting'
import loadExportData from 'highcharts/modules/export-data'
import loadHighchartsMore from 'highcharts/highcharts-more'
import loadHighchartsNoDataToDisplay from 'highcharts-no-data-to-display'
Im using the LoadExporting which works fine for PNG,JPEG,PDF.
I have read the documentation for CSV here
https://api.highcharts.com/highcharts/exporting.csv
Steps i did which wont work with vue charts:
2.Imported the export-data.js where i have used the charts (No errors but still dosnt shows the export csv)
The text was updated successfully, but these errors were encountered: