1、下载
npm install echarts
npm install echarts-liquidfill
2、引入
import * as echarts from 'echarts';
import 'echarts-liquidfill'
3、使用
options = [{
series: [{
type: 'liquidFill',
data: [0.6, 0.5, 0.4, 0.3],
shape: 'diamond'
}]
}];