HighCharts 漏斗图怎么设置高度均等

图片说明

2个回答

https://jshare.com.cn/github/highcharts/highcharts/tree/master/samples/highcharts/demo/funnel/

Highcharts.chart('container', {
  chart: {
    type: 'funnel'
  },
  tooltip: {
    pointFormat: '{series.name}: <b>{point.x}</b>',
  },
  plotOptions: {
    series: {
      dataLabels: {
        enabled: true,
        format: '<b>{point.name}</b> ({point.x:,.0f})',
        softConnector: true
      },
      center: ['40%', '50%'],
      neckWidth: '0',
      neckHeight: '0',
      width: '80%'
    }
  },
  series: [{
    name: '用户',
    data: [
      {name:'Website visits', x: 15654,y:1},
      {name:'Downloads',x: 4064,y:1},
      {name:'Requested price list', x: 1987,y:1},
      {name:'Invoice sent', x: 976,y:1},
      {name:'Finalized',x:  846,y:1}
    ]
  }]
});

为什么要高度均等呢?高度一样的话怎么看出来那个多那个少呢?

renkai721
renkai721 回复Stavin Li: 参考下这个https://blog.csdn.net/renkai721/article/details/95338534
9 个月之前 回复
m0_37285193
Stavin Li 需求
9 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问