Page 1 of 1

Invert vertical axis scale

Posted: Mon Feb 02, 2004 5:05 pm
by 8123414
Hi,

I am attempting to create a simple xy line plot. However, on the vertical axis I want to have the scale inverted, i.e. 0 would be at the end furthest from the horizontal axis, with the values increasing as you move down (i.e. 0,1,2,3...etc.). (I'm trying to represent depth as a positive value on the vertical axis). Any help on how to achieve this would be appreciated.

Thanks,

Paul

Posted: Mon Feb 02, 2004 5:31 pm
by Marjan
Hi, Paul.

To invert chart vertical (left) axis, you can use the following:

Code: Select all

tChart1.Axes.Left.Inverted = true;

Posted: Tue Feb 03, 2004 12:24 pm
by 8123414
Hi Marjan,

Brilliant, thanks.