(本文档仅供参考)
由于数据占比太小,导致堆积横条图数据项标签重叠在一起,不方便查看,如下截图
可以写扩展属性让数据项标签每组数据显示的位置不一样以避免数据项标签重叠在一起,例如第一组显示在上面,第二组显示在下面,第三组显示在上面。实现效果如下:
{ series: [{ label: { normal: { position: "top" } } }, { label: { normal: { position: "bottom" } } }, { label: { normal: { position: "top" } } }] } |