Start a new topic

Problem with IE11

I am trying to use fusioncharts with angular6. While the charts integration work as expected in chrome and firefox, I have a problem with IE11. I located the issue to a _internal/animation-rules/area_animation.js file. This file seems to be compiled to ES6 format with fat arrow notation (=>). IE11 does not support this. Any suggestions on how to resolve this?


I am not familiar with babel although I suspect this should be resolvable using babel. Did anyone manage to set this up?

1 Comment

Hi,


In order to render the charts in IE, please import the files in the following way

import { FusionChartsModule } from'angular-fusioncharts';  
import*asFusionChartsfrom'fusioncharts';

import*asChartsfrom'fusioncharts/fusioncharts.charts';

import*asFusionThemefrom'fusioncharts/themes/fusioncharts.theme.fusion';  

FusionChartsModule.fcRoot(FusionCharts, Charts, FusionTheme);

 


Login or Signup to post a comment