Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 2.4.2 not work on ie 11 because of syntax error #1283

Closed
hkkhchan opened this issue Nov 27, 2020 · 3 comments · Fixed by #1324
Closed

version 2.4.2 not work on ie 11 because of syntax error #1283

hkkhchan opened this issue Nov 27, 2020 · 3 comments · Fixed by #1324

Comments

@hkkhchan
Copy link

hkkhchan commented Nov 27, 2020

I found version 2.4.2 not worked on ie11
It is because some syntax not work on ie like
lib/get-color.js line 33

throw new Error(`getColors - Unsupported chart type ${chartType}`);

lib/get-color.js line 83

function formatPieColors(colors) {
    return {
        backgroundColor: colors.map((/**
         * @param {?} color
         * @return {?}
         */
        (color) => rgba(color, 0.6))),

above case also occur on ng2-charts.js

I downgrade to older version 1.6.0. now work on ie11.

@hkkhchan hkkhchan changed the title version 2.4.2 not work on ie because of syntax error version 2.4.2 not work on ie 11 because of syntax error Nov 27, 2020
@vlapo
Copy link

vlapo commented Jan 19, 2021

We had same issue. Downgrade to version 2.3.3 worked for us.

@DavidDon13
Copy link

I'm having the same issue. Any update on this? Does ng2-charts still support IE11?

@santam85 santam85 linked a pull request Jul 5, 2021 that will close this issue
@santam85
Copy link
Contributor

santam85 commented Jul 8, 2021

Released 2.4.3 with a fix for this.

@santam85 santam85 closed this as completed Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants