最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin5浏览0评论

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.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论