swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.3k stars 1.15k forks source link

Object doesn't support this action IE11 for multiLine chart #626

Open ramuda opened 7 years ago

ramuda commented 7 years ago

Sample template `<ngx-charts-line-chart

multiLineChart

[ngClass]="{'no-show': newChartOptions.stacked }" [results]="renderedChartData" [view]="viewPort" [scheme]="colorScheme" [customColors]="mappedColors" [schemeType]="schemeType" [gradient]="gradient" [xAxis]="newChartOptions.showXAxis" [xAxisLabel]="newChartOptions.xAxisLabel" [xAxisTickFormatting]="newChartOptions.xAxisTickFormatting" [yAxis]="newChartOptions.showYAxis" [yAxisLabel]="newChartOptions.yAxisLabel" [yAxisTickFormatting]="newChartOptions.yAxisTickFormatting" [legendTitle]="newChartOptions.legendTitle" [tooltipDisabled]="newChartOptions.tooltipDisabled" [showGridLines]="newChartOptions.showGridLines" [roundDomains]="newChartOptions.roundDomains" [timeline]="newChartOptions.timeline" [autoScale]="newChartOptions.autoScale" [curve]="curve" [showRefLabels]="newChartOptions.showRefLabels" [referenceLines]="newChartOptions.referenceLines" [rangeFillOpacity]="newChartOptions.rangeFillOpacity" [showXAxisLabel]="showXAxisLabel" [showYAxisLabel]="showYAxisLabel" [legend]="showLegend" [showRefLines]="showRefLines" (select)="onSelect($event)" (activate)="onActivate($event)" (deactivate)="onDeactivate($event)"

ramuda commented 6 years ago

image

Uploaded error screenshot any updates on this?

marcelcremer commented 6 years ago

+1

joseph-schenck commented 6 years ago

I'm seeing that it has to do with the IE11 not having the MouseEvent. Adding a polyfill for it in your index.html file, located here, seems to at least keep it from causing an error, but a new issue arose for me with the tooltip triggering for the point directly to the left of the one I am hovering over.