bubble/circle 在 Highchart 气泡图中的 x 轴上转义

bubble/circle getting escaped in xaxis in Highchart Bubble graph

我遇到了 highchart 日志气泡的有线问题 chart.In 这个图表,我在 x 轴上动态设置了最小值但是当渲染图时,它在 x-axis.Please 上逃脱了一些气泡查看 this fiddle.

$(function() {

    $('#container').highcharts({
        chart: {
            type: 'bubble',
            plotBorderWidth: 1
        },

        title: {
            text: 'Highcharts Bubbles'
        },

        subtitle: {
            text: 'The <em>zMin</em> and <em>zMax</em> options are set to 0 and 100, bubbles should not become near the <em>maxSize</em>'
        },

        xAxis: {
            gridLineWidth: 1,
            min: -50,
            max: 150
        },

        yAxis: {
            min: 0,
            max: 18000
        },

        series: [{
            data: [
                [8, 6, 6],
                [10, 6, 6],
                [20, 10, 10],
                [30, 20, 20],
                [137, 17277, 17277]
            ]
        }]

    });
});

前四个气泡显示半圆而不是全圆。

根据您的数据值,气泡打印在中心点周围。在这种情况下,您需要通过 tickPositioner / tickPositions 或 min/max.

调整 yAxis 上的比例