const option = {
series: [{
type: 'liquidFill',
// Data (0-1 range)
data: [0.6, 0.55, 0.5],
// Colors for each wave
color: ['#294D99', '#156ACF', '#1598ED'],
// Center and radius
center: ['50%', '50%'],
radius: '75%',
// Shape
shape: 'circle',
// Wave configuration
amplitude: 15,
waveLength: '80%',
period: 2000,
direction: 'right',
waveAnimation: true,
// Outline
outline: {
show: true,
borderDistance: 5,
itemStyle: {
borderWidth: 4,
borderColor: '#156ACF',
shadowBlur: 20,
shadowColor: 'rgba(0, 0, 0, 0.25)'
}
},
// Background
backgroundStyle: {
color: '#E3F7FF'
},
// Item style for waves
itemStyle: {
opacity: 0.8
},
// Label
label: {
show: true,
color: '#294D99',
insideColor: '#fff',
fontSize: 50,
fontWeight: 'bold',
formatter: function(param) {
return (param.value * 100).toFixed(0) + '%';
}
},
// Animation
animationDuration: 2000,
animationDurationUpdate: 1000
}]
};