补充一下回答:可以使用G2:https://g2.antv.antgroup.com/zh/examples/general/funnel/#pyramid然后调整label就行:https://g2.antv.antgroup.com/spec/label/overview比如: .label({ text: (d) => `${d.action} ${d.pv}`, textAlign: 'left', }) .label({ text: (d) => `${d.action} ${d.pv}`, textAlign: 'right', position: 'left' }) .label({ text: (d) => `${(d.rate * 100).toFixed(1)}%`, position: 'inside', transform: [{ type: 'contrastReverse' }], })三个叠加也没什么, 反正 echarts 官网也是这样写的:https://echarts.apache.org/examples/zh/editor.html?c=funnel-c...
补充一下回答:
可以使用
G2
:然后调整
label
就行:比如:
三个叠加也没什么, 反正 echarts 官网也是这样写的: