mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-17 07:50:12 +01:00
fix(charts): add polyfills for the IE for d3 charts
This commit is contained in:
parent
4fd404788a
commit
f0325bab13
3 changed files with 7 additions and 9 deletions
|
|
@ -39,12 +39,4 @@
|
||||||
</nb-card-body>
|
</nb-card-body>
|
||||||
</nb-card>
|
</nb-card>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6">
|
|
||||||
<nb-card>
|
|
||||||
<nb-card-header>Polar Chart</nb-card-header>
|
|
||||||
<nb-card-body>
|
|
||||||
<ngx-d3-polar></ngx-d3-polar>
|
|
||||||
</nb-card-body>
|
|
||||||
</nb-card>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -69,3 +69,9 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
|
||||||
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
|
* Needed for: All but Chrome, Firefox, Edge, IE11 and Safari 10
|
||||||
*/
|
*/
|
||||||
import 'intl'; // Run `npm install --save intl`.
|
import 'intl'; // Run `npm install --save intl`.
|
||||||
|
|
||||||
|
import 'core-js/es7/array';
|
||||||
|
|
||||||
|
if (typeof SVGElement.prototype.contains === 'undefined') {
|
||||||
|
SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue