Invert vertical axis scale

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Paul
Newbie
Newbie
Posts: 18
Joined: Fri Jan 09, 2004 5:00 am

Invert vertical axis scale

Post by Paul » Mon Feb 02, 2004 5:05 pm

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

Marjan
Site Admin
Site Admin
Posts: 745
Joined: Fri Nov 07, 2003 5:00 am
Location: Slovenia
Contact:

Post by Marjan » Mon Feb 02, 2004 5:31 pm

Hi, Paul.

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

Code: Select all

tChart1.Axes.Left.Inverted = true;
Marjan Slatinek,
http://www.steema.com

Paul
Newbie
Newbie
Posts: 18
Joined: Fri Jan 09, 2004 5:00 am

Post by Paul » Tue Feb 03, 2004 12:24 pm

Hi Marjan,

Brilliant, thanks.

Post Reply