Recommended Posts

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

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now