气泡/圆在Highchart气泡图中的X轴上逸出

用户名

我正在与highchart日志泡沫chart.In有线发行这张图,我已经设定x轴动态最小值但当呈现图形,它逃脱的X axis.Please外观到一些泡沫这个小提琴

$(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]
            ]
        }]

    });
});

前四个气泡显示的是半圆而不是完整的圆。

塞巴斯蒂安·博尚(Sebastian Bochan)

根据您的数据值,气泡将打印在中心点附近。在这种情况下,您需要通过tickPositioner / tickPositions或最小值/最大值在yAxis上调整比例。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章