Overlay two charts

Gasherbrum

New Member
Joined
Dec 21, 2007
Messages
14
I have one bar chart that uses the primary axis and a second bar chart, that uses the secondary axis. Both refer to the same data points on the x axis.
Two issues:
1) I would like to see the second bar chart on top of the first bar chart instead of each data point next to each other. Is that possible?
2) The primary and the secondary axis should have their zero value on the same level.

Thanks a lot for any help!
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.
Thank you, Stanley,

I guess that would be a solution if I am using Office 2007, but I am not. The 2003 version seems not to offer this option to selectively making parts of a chart transparent.
 
Upvote 0
1) I would like to see the second bar chart on top of the first bar chart instead of each data point next to each other. Is that possible?
2) The primary and the secondary axis should have their zero value on the same level.

1) "On top" meaning stacked, or just at the same position on the category axis? I hope not stacked, because it doesn't make sense for different axis scales.

If your series are in fact on primary and secondary axes, the secondary series will appear in front of the primary without any special effort on your part (most of the time people need help getting them not to obscure each other). To make the primary series visible from behind the secondary series, format it to have a smaller gap width and the secondary to have a larger gap width.

2) This requires manual adjustment whenever the scales change or VBA intervention. Here's a sample:

http://peltiertech.com/Excel/Charts/AlignXon2Ys.html
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top