高图表列重叠



你能告诉我如何使用Highcharts库避免这种重叠问题吗?

在这里 JsFiddle

您会看到有 2 列重叠,甚至股票代码标签也重叠!

chart: {
            type: 'column'
        },title: {
            text: 'title'
        },plotOptions: {
            column: {
                stacking: 'normal',
                minPointLength: 2
            }
        },xAxis: {
            type: 'datetime',
            title: {
                text: 'date'
            },
            tickPositions:  categoriesGrafico,
            labels:{
                rotation: -90,
                formatter:function(){
                return Highcharts.dateFormat('%d/%m/%Y',this.value);
                }
            },
            reversed: true,
            dateTimeLabelFormats: {
                day: '%d/%m/%Y',
            }
        },yAxis: {
            title: {
                text: 'value'
            },
            min: 0
        },
    series: seriesGrafico
});

我在网上阅读了很多帖子,并尝试了很多选择,但没有解决方案。

非常感谢

因为你有两个刻度如此之近。解决方案可以是设置点范围或修改即时报价。

最新更新