Apexcharts.js: Does not work on IE11

Created on 14 Jan 2019  Â·  13Comments  Â·  Source: apexcharts/apexcharts.js

Explanation

  • What is the behavior you expect?
    Apex chart should work on IE11, at least the demo page: https://apexcharts.com should be working.

  • What is happening instead?
    Demos does not work on IE11.

  • What error message are you getting?
    No error message can be seen in the console.

Most helpful comment

All 13 comments

As IE11 support has been abandoned, I don't know why the demo page should work with it: https://github.com/apexcharts/apexcharts.js#how-do-i-make-it-work-in-ie11

I will fix the website by loading polyfills for IE11.

Re-enabled IE11 support directly without any polyfills.

Download PNG / SVG does not work on IE11

Is there a solution to this? I still can't render the chart in IE11. hope someone would help. thanks

Hi,

I saw the fix already
https://github.com/apexcharts/apexcharts.js/commit/44de94c4c2d890df6e35314d0ff55c299cf5eccf
at
version 3.6.5 but I can't still make it work in IE11.

Am I referencing the correct js files?

  1. apexcharts.min.js
  2. apexcharts.common.js

It works perfectly fine in Chrome

Thanks
Regards,
John Carlo

On Sun, Mar 31, 2019 at 6:49 PM Juned Chhipa notifications@github.com
wrote:

Fixed IE11 issues in 44de94c
https://github.com/apexcharts/apexcharts.js/commit/44de94c4c2d890df6e35314d0ff55c299cf5eccf

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/apexcharts/apexcharts.js/issues/271#issuecomment-478330786,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Am9qlfjSaUaCXlDHuErSc0GaQY-1b-6Oks5vcJLKgaJpZM4Z929Q
.

Can you create a codepen demo so I can open it directly in IE11 and see any issues.

Hi,

I found the error, It turns out the .toFixed() I used in formatting labels is not working in IE11.

Thanks for helping.
Regards,
Carlo

The toFixed() method was added in Internet Explorer 5.5, so it should be working for IE11.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed

Hi,

Not that I'm a fan of IE but this simple Apex chart doesn't work at all on IE11: https://jsfiddle.net/3yesf7j5/

I am using the latest version of package but still i was able to see the IE 11 having, i have seen some where it was mentioned add polyfills before using the apex starts but that still gives an error for me, any work around for this please ?

`import React, { Component } from 'react';
import './eligrey-classlist-js-polyfill';
import './findindex_polyfill_mdn';
import './polyfill.min.js';

import Chart from 'react-apexcharts';`

@junedchhipa @steambap

Hi, @SandeepKapalawai , were you abled to make it work?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Sumon-miazi picture Sumon-miazi  Â·  3Comments

pribilinskiy picture pribilinskiy  Â·  3Comments

artfulrobot picture artfulrobot  Â·  3Comments

drummad picture drummad  Â·  3Comments

rudeayelo picture rudeayelo  Â·  3Comments