Ravikumar Sutagundi Report post Posted August 19, 2019 Hello, I am getting this below error in the latest update. And also I am not able to see the excel export option on the rendered chart. All other option png, jpg and svg available. Earlier was able to see, after upgrading to latest fusioncharts getting the below error with no excel export option being displayed in the chart. zone.js:682 Unhandled Promise rejection: Loading chunk 13 failed. (error: http://localhost:4200/fusioncharts.excelexport.js) ; Zone: <root> ; Task: Promise.then ; Value: Error: Loading chunk 13 failed. (error: http://localhost:4200/fusioncharts.excelexport.js) at HTMLScriptElement.i (fusioncharts.js:13) at HTMLScriptElement.wrapFn (zone.js:1332) at ZoneDelegate.invokeTask (zone.js:423) at Zone.runTask (zone.js:195) at ZoneTask.invokeTask [as invoke] (zone.js:498) at invokeTask (zone.js:1744) at HTMLScriptElement.globalZoneAwareCallback (zone.js:1770) Error: Loading chunk 13 failed. (error: http://localhost:4200/fusioncharts.excelexport.js) at HTMLScriptElement.i (webpack-internal:///./node_modules/fusioncharts/fusioncharts.js:13:2212) at HTMLScriptElement.wrapFn (webpack-internal:///./node_modules/zone.js/dist/zone.js:1332:39) at ZoneDelegate.invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:423:31) at Zone.runTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:195:47) at ZoneTask.invokeTask [as invoke] (webpack-internal:///./node_modules/zone.js/dist/zone.js:498:34) at invokeTask (webpack-internal:///./node_modules/zone.js/dist/zone.js:1744:14) at HTMLScriptElement.globalZoneAwareCallback (webpack-internal:///./node_modules/zone.js/dist/zone.js:1770:17) Any suggestion, highly appreciated Share this post Link to post Share on other sites
Akash Biswas Report post Posted August 19, 2019 Hi Ravi, You need to include the fusioncharts.excelexport.js file in your application/page to have the "xlsx" option in the export drop-down menu. Sample fiddle : http://jsfiddle.net/n15zxuo3/2/ Thanks, Akash. Share this post Link to post Share on other sites
Ravikumar Sutagundi Report post Posted August 19, 2019 Hello Akash, Thanks for replying. We are using angular and build the war with node build which will compress all the files. So how to do it using angular? If Javascript, we could have included. But we are using angular. Share this post Link to post Share on other sites
Akash Biswas Report post Posted August 19, 2019 Hi Ravi, In an Angular application, you could import from "fusioncharts/fusioncharts.excelexport" and then provide the dependency to the fcRoot(). Refer to the sample fiddle : https://codesandbox.io/s/radar-excelexport-xlxs-angular-jnwr5 You could also check the change log for the details : https://www.fusioncharts.com/dev/upgrading/version-history/version-3-13-X# Thanks, Akash. Share this post Link to post Share on other sites