Console errors when zoomed in and using series.setData with redraw set to false #8795
Zooming in on a live updated chart should not trigger console errors on chart hover.
When using a deferred chart.redraw instead of a direct redraw on serie.setData hovering the chart when zoomed in will trigger hundreds of console errors.
FF 61.0.2 Error:
Chrome 68.0.3440.106 Error (IE11 has the same):
Live demo with steps to reproduce
Deferred redraw causes console error https://jsfiddle.net/ma_di/Laxsvgbw
Direct redraw has no error but kills the cpu usage https://jsfiddle.net/ma_di/81mhcp07/
The text was updated successfully, but these errors were encountered:
There's been a revert that accidentally (so it seems) canceled this fix.
The problem is still visible in version 7.1.2, so I will reopen the issue.
As a workaround you could try using the same solution applied to current code, but please note that this solution was not fully tested yet. Demo: https://jsfiddle.net/BlackLabel/wj4et7c9/1/