<meta charset="utf-8" & gt;
<script SRC="https://bbs.csdn.net/topics/Content/echarts.common.min.js" & gt; </script>
<body>
BackgroundColor: '# 2 c343c',
Title: {
Text: 'Customized Pie',
Left: 'center',
Top: 20,
TextStyle: {
Color: # 'CCC'
}
},
Tooltip: {
The trigger: 'item'
},
VisualMap: {
Show: false,
Min: 80,
Max: 600,
InRange: {
ColorLightness: [0, 1]
}
},
Series: [
{
Name: 'each professional enrollment situation,
Type: 'pie',
The radius: '55%',
Center: [' 50% ', '50%'],
Data: [
{value: 80, name: 'WEB development engineers'},
{value: 20, name: 'UI designers'},
{value: 25, name: 'big data software engineers'},
{value: 32, name: 'new media operations'},
{value: 18, name: 'mobile software engineers'},
{value: 26, name: 'system operations engineers'},
]. Sort (function (a, b) {return Dr. Alue - b.v alue. }),
RoseType: 'radius,
Label: {
Color: 'rgba (255, 255, 255, 0.3)'
},
LabelLine: {
Graphics.linestyle: {
Color: 'rgba (255, 255, 255, 0.3)'
},
Smooth: 0.2,
Length: 10,
Length2:20
},
ItemStyle: {
Color: # c23531,
ShadowBlur: 200,
ShadowColor: 'rgba (0, 0, 0, 0.5)'
},
AnimationType: 'scale',
AnimationEasing: 'elasticOut',
AnimationDelay: function (independence idx) {
Return Math. The random () * 200;
}
}
]
};
</script>