我在 Highcharts 的 Stacked Barcharts 中使用的标签与条形图的其他部分重叠

问题描述

当值很小并且条的宽度较小时会发生这种情况。您会发现第一个条中的值2与它旁边的线段重叠

You will find that the value 2 in the first bar is overlapping the segment besides it

我的代码在这里

yAxis: {
    min: 0,title: {
      text: ""
    },gridlinewidth: 0,visible: false,overflow: 'justify'
  }

https://codepen.io/abvpl/pen/qBNpwWL?editors=0010

我更喜欢这样的解决方案,当条太短时文本应该上升。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)