# css* {
margin: 0;
padding: 0;
}
.content {
width: 500px;
height: 400px;
border: 1px solid red;
margin: 100px auto;
}
#main {
width: 100%;
height: 100%;
background-color: #0D141E;
}
# html
# js
var myChart = echarts.init(document.getElementById('main'));
var option = {
legend: {
icon: 'none',
data: [{
name: '邮件营销',
textStyle: {
fontWeight: 'normal',
color: '#fff'
}
}, {
name: '联盟广告',
textStyle: {
fontWeight: 'normal',
color: '#fff'
}
}, {
name: '视频广告',
textStyle: {
fo