// ECharts 水球图插件,需要额外插件脚本,参见上方“脚本” // 完整配置参数参见:https://github.com/ecomfe/echarts-liquidfill var option = { series: [{ type: 'liquidFill', name: 'Liquid Fill', data: [{ name: 'First Data', value: 0.6 }, 0.5, 0.4, 0.3], label: { normal: { formatter: '{a}\n{b}\nValue: {c}', textStyle: { fontSize: 28 } } } }] };