@swimlane/ngx-charts
Version:
Declarative Charting Framework for Angular
10 lines • 440 B
JavaScript
// The export is needed here to generate a valid polyfills.metadata.json file
export function ngxChartsPolyfills() {
// IE11 fix
// Ref: https://github.com/swimlane/ngx-charts/issues/386
if (typeof (SVGElement) !== 'undefined' && typeof SVGElement.prototype.contains === 'undefined') {
SVGElement.prototype.contains = HTMLDivElement.prototype.contains;
}
}
ngxChartsPolyfills();
//# sourceMappingURL=polyfills.js.map