用liquidFill制作
配置项如下
var option = {
series: [{
type: 'liquidFill',
data: [0.6, 0.59, 0.55, 0.50],
radius: '90%',
outline: {
show: false
},
backgroundStyle: {
borderColor: '#05a09c',
borderWidth: 2,
shadowColor: 'rgba(0, 0, 0, 0.6)',
shadowBlur: 20
},
shape: 'path://M197.14,392.778c0,0-2.333,3-2,11.667s3.667,16.334,3.333,22.667s-0.667,30.333,13.667,33s44.333,1.667,44.333,1.667v67.333c0,0,22.667,9.999,48,10.333l1.666-77.333c0,0,21.334-0.999,26.667-3.333l4.667,44.333l-2.334,4.667l4.334,20.333c0,0,33-13.666,44-29.333l-9-52c0,0,22.333-4.667,25.333-34c0,0-2.334-26-29.334-29l0.667-5.333h-3.667l-2-52.333c0,0-33.666-21.333-39.666-16s21.666,56,15.666,69l-2.666,2l0.333,19.333c0,0,0.999-22.667-15.667-20.333S226.14,382.445,197.14,392.778z',
label: {
normal: {
position: ['50%', '50%'],
formatter: function() {
return 'windtubine for liquidfill.js ';
},
textStyle: {
fontSize: 40,
color: '#156ACF'
}
}
}
}]
};