question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ngx-charts doesn't work with IE 11

See original GitHub issue

I’m submitting a … (check one with “x”)

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here

Current behavior Crashes when trying to load the library.

iexplore_2017-02-22_12-50-17

Expected behavior Does not crash.

Reproduction of the problem Visit your demo site with IE 11: https://swimlane.github.io/ngx-charts/

Please tell us about your environment: OS: Windows 10 Pro x64 IDE: Atom Node: 7.5.0

  • ngx-charts version: 4.1.2
  • Angular version: 2.4.8
  • Browser: IE 11
  • Language: TypeScript 2.0.10

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
yodamadcommented, Sep 8, 2017

this polyfill.ts works for me

``import ‘core-js/es6’; import ‘core-js/es7/array’; import ‘core-js/es7/reflect’; import ‘core-js/client/shim’; import ‘classlist.js’; import ‘intl’; require(‘zone.js/dist/zone’);

// IE11 fix if (typeof SVGElement.prototype.contains == ‘undefined’) { SVGElement.prototype.contains = HTMLDivElement.prototype.contains; }``

require yarn add classlist.js intl

1reaction
amcdnlcommented, Feb 22, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is ngx-chart TreeMap labels are not shown in IE11?
I am currently using ngx-charts version 10.0.1 for ploting Treemap chart. My Angular version is 7.2.1. It is working as expected in Chrome...
Read more >
swimlane/ngx-charts - Gitter
Angular 2 works fine in IE11 but I can't get the charts to work - i added an array.includes polyfill and I now...
Read more >
Error Internet Explorer 11 #9256 - Asp.Net Zero Support
I am asking why in a previous project with angular 8 it worked in IE11. ... 12 of ngx-charts which doesn't have the...
Read more >
Why Is Ngxchart Treemap Labels Are Not Shown In Ie11 - ADocLib
I'm building an app using Swimlane's Ngx Charts for graphical data attempting to import NGXCharts but they don't work with server side prerendering....
Read more >
Changelog - ngx-charts - GitBook
Bug: Chart Tooltip does not work on touch devices (#1213) ... 11.0.1. Bug: Fixes displaying of tooltip on IE 11 (#1157) ... Renamed...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found