Column chart with primary and secondary y-axes

匿名 (未验证) 提交于 2019-12-03 02:56:01

问题:

My problem seems simple, I just want to make a column chart with 2 y-axes. When I do this, Excel automatically puts the columns overlapping. I do not want them overlapped! How do I go about correcting this?

An image of what is happening:

回答1:

You could achieve the chart as shown below with some rather careful manipulation:

Basically is requires spacing out your data as shown in columns A:C but also right-aligning the horizontal axis labels, adjusting the secondary axis maximum (and format of both vertical axes, if necessary) and the Gap Width for Series1 to about 10% and for Series2 to about 5%.

(PS I chose the wrong value for C5.)



回答2:

I believe this method is more straightforward:

  1. Create two dummy series. Series1 and dummy1 on the primary axis, Series2 and dummy2 on the secondary axis.
  2. Reorder the series so dummy1 is above Series1



回答3:

I find it easier to change the secondary Y data's chart-type to a scatter plot. The overlap of this symbol with the bars of the primary Y, is the desired result. You simply right click the secondary bar and select "Change the chart type", and select scatter with or without the connecting line.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!