Swap axes on a line chart

JugglerJAF

Active Member
Joined
Feb 17, 2002
Messages
297
Office Version
  1. 365
Platform
  1. Windows
I have a chart that shows performance against target (example image below) set up initially as a line chart with markers using data from column A (currently shown on the x axis), and columns E:G for the points plotted in the chart. Lines have been removed from columns E and G, and markers removed from column F. So far so good...
current chart.png


I've now been asked if I can "rotate" the chart so that names are all shown in the y axis (essentially rotate it 90 degrees clockwise). This would have the effect (for example) of changing the horizontal black target line to being a vertical target line with values below target appearing to the left of the target line (they currently appear below it), and those exceeding the target to appear to the right of the target line (they currently appear above it). The final result would look like this...
ideal chart.png


I did try selecting chart data and switching row/column, but that just set all of my name values as legend entries.

I know that charts can't be rotated, and while I could achieve the end result by selecting the cells around the chart and pasting as a picture link (rotated) - which is what I did to create the "portrait" image above - it's a bit of a pain to do that and I'd much rather create a chart the way I want it to appear.

Is there a way to create a chart like the second image above?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
How did you get the names on X axis?
Try switching which primary axis and see if the result suits your requirement.
1637817344987.png
 
Upvote 0
Plot it as a Bar Chart.
Select on of the bars add following shadow properties
1637819226904.png

and make the bar as no fill
1637819250882.png

You will have a result as follows
1637819276964.png

Hope that does the job.
Please let me know
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,216,301
Messages
6,129,979
Members
449,548
Latest member
lharr28

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