Open ealtuna opened 5 years ago
some thing here, happening in all charts though
@jerguslejko can you provide procedure to reproduce it in other charts?
hi @ealtuna, the steps are same for all of them
I see it in advanced pie as well, haven't noticed in others but haven't tested them. Seems to be related to moving in and out of activate/deactivate/click in certain sequence.. Seems to happen on first click-only sometimes.
This happens also for me in ngx-charts-bar-horizontal in Internet Explorer 11. Any updates regarding this issue?
Is there any workaround for this? Still an issue for me.. Not working in Edge in the demo page for the first click.
I am facing this issue in IE 11.
I had this same issue in IE11 when clicking on a column in any chart. I added this to my angular apps global exception handler to ignore the error. It turns out that the click on the column still works (and can be picked up by the charts onSelect
event) once this error is ignored.
handleError(error) {
...
else if (error.message === 'Unable to get property \'name\' of undefined or null reference') {
// DO NOTHING
console.log('Ignoring error from ngx-charts: ' + error.message);
return;
}
...
Description Error "Unable to get property 'name' of undefined or null reference" in Microsoft Edge browser when click in one of the elements of the Advanced Pie Chart.
To Reproduce Steps to reproduce the behavior:
Expected behavior No errors in Microsoft Edge.
Demo The error is present in the demo provided by the project.
ngx-charts version 12.0.0
Additional context Browser: Microsoft Edge