On the question of how to export echart chart data to excel files

highchart exports excel chart data. You only need to import export-csv.js files to export the data.
Why doesn"t echart support this? Checked the practice on the Internet, all by writing backstage.
what is a good way for echart to export chart data, like this:

ask the gods for help

Apr.03,2021

  1. background export (does not meet your requirements)
  2. add toolbox data View component

clipboard.png

clipboard.png

    toolbox:{show:true,feature:{dataView:{show:true}}},

copy to excel


the export of pure front end is not clear. You can export in the background. The front end page uses InnerHtml version of jquery 1.9 or above to obtain all the elements of the table, and the background export excel


you can manually implement an export xls,. If you can get the data rendering echarts, you can export
https://github.com/SheetJS/js.

.
Menu