lhj117383609 opened a new issue #14063:
URL: https://github.com/apache/echarts/issues/14063
### What problem does this feature solve?
Version & Environment [版本及环境]
ECharts version [ECharts 版本]: 5.0.1
Browser version [浏览器类型和版本]: ie8
OS Version [操作系统类型和版本]: window
Expected behaviour [期望结果]
构建了兼容IE8 echarts5.0.1版本下,但是运行报错You need to require 'zrender/vml/vml' to
support IE8,如何解决
### What does the proposed API look like?
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<title>ECharts</title>
<!-- 引入 echarts.js -->
<script src="D:\MagicalCoder\ECHARTS各版本JS\echarts.min5.0.1.js"></script>
</head>
<body>
<!-- 为ECharts准备一个具备大小(宽高)的Dom -->
<div id="main" style="width: 600px;height:400px;"></div>
<script type="text/javascript">
// 基于准备好的dom,初始化echarts实例
var myChart = echarts.init(document.getElementById('main'));
// 指定图表的配置项和数据
var option = {
title: {
text: 'ECharts 入门示例'
},
tooltip: {},
legend: {
data:['销量']
},
xAxis: {
data: ["衬衫","羊毛衫","雪纺衫","裤子","高跟鞋","袜子"]
},
yAxis: {},
series: [{
name: '销量',
type: 'bar',
data: [5, 20, 36, 10, 10, 20]
}]
};
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option);
</script>
</body>
</html>
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]