ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   inverting a chart (https://www.excelbanter.com/excel-programming/358944-inverting-chart.html)

inquirer

inverting a chart
 
I have created quite complex chart in vba where I plot probability
values on the y axis and data along the x axis. I would like to provide
an option to plot the probability on the x axis and data on the y axis.
Is there an easy way to flip the axes around?
At the moment, I am stuck on
ActiveChart.SeriesCollection(2).XValues = "=Data!R2C60:R24C60"
ActiveChart.SeriesCollection(2).Values = "=Data!R2C55:R24C55"
where it plots the probability values on the y axis. How do I change
this to plot on the x axis?

Thanks
Chris


All times are GMT +1. The time now is 04:19 AM.

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