-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to display dynamic data in IE8 #8874
Comments
Hi @chen365409389 Thank you for reporting the issue. Does it mean other browsers (e.g. Chrome) works fine? Do you see the same issue in our official demo: https://www.highcharts.com/demo/dynamic-update |
yes,it works fine in Chrome and IE9, but got issue in old IE browsers(IE6,IE8). |
@KacperMadej - could you take a look? |
It's a bug in As a workaround:use this code after loading Highcharts.indexOfPolyfill = function (member, fromIndex) {
var arr = this,
len,
i = fromIndex || 0;
if (arr) {
len = arr.length;
for (; i < len; i++) {
if (arr[i] === member) {
return i;
}
}
}
return -1;
}; Internal note: |
It's all good,I use the code in my chart and it works fine,Thanks for your effort! |
Expected behaviour
display dynamic data in IE8
Actual behaviour
unable to display dynamic data in IE8
Live demo with steps to reproduce
I get the archive from official website,in examples\dynamic-update , I import the oldie.js after highcharts.js,but still cann't display dynamic data in IE8.
I noticed that if i invoke addPoint method like "series.addPoint([x, y], true, true);",charts will not be updated,but if i set the third parameter (shift) to false,charts will be updated,but the first point will not be removed.
Thanks!
Product version
Highcharts-6.1.1
Affected browser(s)
IE6,IE8
The text was updated successfully, but these errors were encountered: