用官方文档的测试兼容页面再ie8浏览器中测试 速度仪(type:guage、highcharts-more.js)。报错状态码为27.27状态码对应解决方案是添加 oldie.js。但是官方js没有highcharts-more.js 对应的 oldie.js.
请参考 文档,需要引入的文件有:
<script src="http://cdn.highcharts.com.cn/highcharts/modules/oldie-polyfills.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/highcharts.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/modules/oldie.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/highcharts-more.js"></script>
不存在所谓 highcharts-more.js 对应的 oldie.js。
对的。就是不存在highcharts-more.js所以不兼容。你们可以测试一下 速度仪图表在ie8上的兼容性。
请使用下面的文件:
<script src="http://cdn.highcharts.com.cn/highcharts/7.1.2/modules/oldie-polyfills.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/7.1.2/highcharts.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/7.1.2/modules/oldie.js"></script>
<script src="http://cdn.highcharts.com.cn/highcharts/7.1.2/highcharts-more.js"></script>
测试结果:
这不科学 下午我截图我这边的测试结果给你看
我用了这个引用以后,图表在IE8下只显示原来的三分之二