ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   Rotating a chart, and more.. (https://www.excelbanter.com/charts-charting-excel/55044-rotating-chart-more.html)

adambowie

Rotating a chart, and more..
 

I know that a not long ago, someone else asked about rotating charts,
but the solution offered won't work for me.

I have a 2D area chart which currently runs across the x-axis. I'd like
to run the chart along the y-axis instead. This could be achieved by
either rotating the whole chart object, or producing a chart that Excel
by default doesn't seem to let you.

The other part of my problem is that I'd like the said chart to lie
*underneath* the data in a worksheet. And I need the chart to be
dynamic - I don't want to have to export the chart, make it into a jpg
and then import it as a watermark (unless I can automate the whole
routing in VBA).

To give you an idea of what I'm talking about, have a look at 'this'
(http://www.adambowie.com/weblog/archive/chart.jpg) jpg of another
chart taken from a PDF.

Any help or pointers in the right direction would be greatly
appreciated.


Adam


--
adambowie
------------------------------------------------------------------------
adambowie's Profile: http://www.excelforum.com/member.php...o&userid=28745
View this thread: http://www.excelforum.com/showthread...hreadid=484341


Andy Pope

Rotating a chart, and more..
 
Hi,

Firstly the chart, or any other object for that matter, sits on a
drawing layer above the cells. So to get the chart behind the values you
will need to display the values above the chart. This can be done using
textboxes. These textboxes can be linked to cells so they update
automatically.

Getting the actual chart is more of a problem. Try using Jon Peliter's
approach of creating a autoshape to match your data. Obviously this vba
solution will need to be run evrey time your data changes in order to be
dynamic.
http://peltiertech.com/Excel/Charts/VBAdraw.html

Cheers
Andy

adambowie wrote:
I know that a not long ago, someone else asked about rotating charts,
but the solution offered won't work for me.

I have a 2D area chart which currently runs across the x-axis. I'd like
to run the chart along the y-axis instead. This could be achieved by
either rotating the whole chart object, or producing a chart that Excel
by default doesn't seem to let you.

The other part of my problem is that I'd like the said chart to lie
*underneath* the data in a worksheet. And I need the chart to be
dynamic - I don't want to have to export the chart, make it into a jpg
and then import it as a watermark (unless I can automate the whole
routing in VBA).

To give you an idea of what I'm talking about, have a look at 'this'
(http://www.adambowie.com/weblog/archive/chart.jpg) jpg of another
chart taken from a PDF.

Any help or pointers in the right direction would be greatly
appreciated.


Adam



--

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

adambowie

Rotating a chart, and more..
 

Hi Andy,

Thanks for this.

I'm sure I can link textboxes to worksheet values, and I'll have a bash
at the VBA autoshape route. Could be an interesting learning curve! The
data only changes four times a year, so replotting at those points is
no problem.


Adam


--
adambowie
------------------------------------------------------------------------
adambowie's Profile: http://www.excelforum.com/member.php...o&userid=28745
View this thread: http://www.excelforum.com/showthread...hreadid=484341



All times are GMT +1. The time now is 01:19 PM.

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