Plotly.js 显示错误 'Uint8ClampedArray' 在 Internet Explorer 11 中使用时未定义
Plotly.js show error 'Uint8ClampedArray' is undefined when used in Internet explorer 11
我在 plotly 中创建了一个图表。当我在 Internet Explorer 中尝试时,它卡住了。它在图表上显示了一切。当我尝试开发选项时,它显示 'Uint8ClampedArray' 未定义。问题是什么?我怎样才能克服这个问题。你能帮我解决这个问题吗?
<html>
<head>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<title>Untitled</title>
</head>
<body>
<div id="tester" style="width:600px;height:250px;"></div>
<script>
TESTER = document.getElementById('tester');
Plotly.plot( TESTER, [{
x: [1, 2, 3, 4, 5],
y: [1, 2, 4, 8, 16] }], {
margin: { t: 0 } } );
</script>
</body>
</html>
显示的错误如下。
SCRIPT5009:'Uint8ClampedArray' 未定义
SCRIPT5009:'Plotly' 未定义
我已经解决了问题。问题出在 Internet Explorer 上,我已经更新到最新版本。因此它支持 Uint8ClampedArray 并且现在它的工作。
谢谢大家考虑我的问题
我在 plotly 中创建了一个图表。当我在 Internet Explorer 中尝试时,它卡住了。它在图表上显示了一切。当我尝试开发选项时,它显示 'Uint8ClampedArray' 未定义。问题是什么?我怎样才能克服这个问题。你能帮我解决这个问题吗?
<html>
<head>
<script src="https://cdn.plot.ly/plotly-latest.min.js"></script>
<title>Untitled</title>
</head>
<body>
<div id="tester" style="width:600px;height:250px;"></div>
<script>
TESTER = document.getElementById('tester');
Plotly.plot( TESTER, [{
x: [1, 2, 3, 4, 5],
y: [1, 2, 4, 8, 16] }], {
margin: { t: 0 } } );
</script>
</body>
</html>
显示的错误如下。 SCRIPT5009:'Uint8ClampedArray' 未定义 SCRIPT5009:'Plotly' 未定义
我已经解决了问题。问题出在 Internet Explorer 上,我已经更新到最新版本。因此它支持 Uint8ClampedArray 并且现在它的工作。
谢谢大家考虑我的问题