ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   How to interchange datas of 'X' & 'Y' axes in a Line Chart (https://www.excelbanter.com/charts-charting-excel/107897-how-interchange-datas-x-y-axes-line-chart.html)

RM Batcha

How to interchange datas of 'X' & 'Y' axes in a Line Chart
 
Column & Bar Charts juxtaposed to each otherin that 'X' axis in one chart
becomes'Y' axis in the other. Can't we do same with the Line Chart.

Andy Pope

How to interchange datas of 'X' & 'Y' axes in a Line Chart
 
Hi,

In order to swap a line chart you need to convert the chart type to
xy-scatter and then adjust the ranges being used for x and y values.

If the line chart currently has categorical data on the x axis you will
need to do a little more work to swap the axes.
http://peltiertech.com/Excel/Charts/Y_CategoryAxis.html

Cheers
Andy

RM Batcha wrote:
Column & Bar Charts juxtaposed to each otherin that 'X' axis in one chart
becomes'Y' axis in the other. Can't we do same with the Line Chart.


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info


All times are GMT +1. The time now is 08:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com