vba - Only show one label in x-axis of Excel chart, without changing plotlabel area size - Stack Overflow

I have a chart where I only want to show one name in the x-axis labels. I made a helper column with jus

I have a chart where I only want to show one name in the x-axis labels. I made a helper column with just the desired label and blanks in the rest of the cells. However, the names have different lengths so the height of the label area changes each time and the plot area gets stretched or shrunk. Is there a way to keep a constant height of the plot/label area size while changing which x-axis labels are visible?

There is no way I can find to control label area size in VBA. I thought maybe I could change the color of certain labels to match the background but I don't think that is possible. I tried messing around with padding but couldn't find a system that consistently worked.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744579694a4581959.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信