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.

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b383a1-2c0ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b383a1-2c0ed.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?