简体   繁体   English

openpyxl 图表标签与数据重叠

[英]openpyxl chart label overlapping with data

在此处输入图片说明

As picture shown above, is there any attribute in openpyxl that could make the labels of data not overlap with the negative columns?如上图, openpyxl中是否有任何属性可以使数据标签与负列不重叠?

添加x_axis tick label position的规范:

chart.x_axis.tickLblPos = "low" #this is actually at the top of the graph

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM