You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The implementation of the 'time' scale relies on Number.MAX_SAFE_INTEGER and Number.MIN_SAFE_INTEGER which are not available in IE 11 (and probably other IE versions).
This codepen link shows a basic chart with time scale, which displays data in chrome but doesn't show anything on IE 11:
Insert these code before init Chart, it will work on IE:
if (Number.MAX_SAFE_INTEGER === undefined) {
Number.MAX_SAFE_INTEGER = 9007199254740991;
}
if (Number.MIN_SAFE_INTEGER === undefined) {
Number.MIN_SAFE_INTEGER = -9007199254740991;
}
The implementation of the 'time' scale relies on Number.MAX_SAFE_INTEGER and Number.MIN_SAFE_INTEGER which are not available in IE 11 (and probably other IE versions).
This codepen link shows a basic chart with time scale, which displays data in chrome but doesn't show anything on IE 11:
https://codepen.io/anon/pen/GmaRYN
The ES6 definitions (9007199254740991 and -9007199254740991) seem to be sensible fallback values. I'll submit a pull request shortly.
The text was updated successfully, but these errors were encountered: