如何增加乐队的高度?

How to increase the height of the bands?

我用下面的脚本创建了一个漏斗。

Highcharts.chart('container', {
    chart: {
        type: 'funnel'
    },
    title: {
        text: 'Sales funnel'
    },
    plotOptions: {
        series: {
            dataLabels: {
                enabled: true,
                format: "Sales Chart:<br>{point.name}<br>Cart: {point.value:,.0f}<br>New Users: {point.unique:,.0f}<br>Total Orders Rate: {point.cr}%",
                softConnector: true,
                inside: true,
            },
            neckHeight: "0%",
                neckWidth: "80%",
                width: '15%',
                reversed: true,
        }
    },
    legend: {
        enabled: false
    },
    series: [{
    name: 'Unique users',
    keys: ["name", "y", "value", "unique", "did", "cr"],
    data: [
      ['Website visits', 1, 659, 541, '1', '1.31'],
      ['Downloads', 1, 392, 288, '38', '0.70'],
      ['Requested price list', 1, 562, 467, '101', '1.13'],
      ['Invoice sent', 1, 338, 282, '97', '0.68' ],
      ['Finalized', 1, 77, 59, '25', '0.14' ]
    ]
  }],
});

jsfiddle: https://jsfiddle.net/kiranuk/xhfbyj64/

乐队看起来很拥挤。如何增加条带的高度?

感谢您的帮助。

您需要增加图表的高度。例如:

  chart: {
    type: 'funnel',
    height: 600
  }

现场演示: https://jsfiddle.net/BlackLabel/a6sr93fo/

API参考:https://api.highcharts.com/highcharts/chart.height