Assign Series to top and bottom axes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Gerhard Sachs
Newbie
Newbie
Posts: 8
Joined: Tue Aug 14, 2007 12:00 am

Assign Series to top and bottom axes

Post by Gerhard Sachs » Thu Mar 12, 2009 4:19 pm

Hello,

I want to show the user the top and bottom axis even when just one series is defined.

I create one or more line series dynamically.
In the chart editor, it is possible to assign a series to top, to bottom or to top and bottom.
How can I use the "top and bottom" feature programatically ?

Or is there another way to display top and bottom axes when only one series is displayed ?

Regards
Gerhard Sachs

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu Mar 12, 2009 4:54 pm

Hi Gerhard,

Have you tried this?

Code: Select all

Chart1[0].HorizAxis := aBothHorizAxis;
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Gerhard Sachs
Newbie
Newbie
Posts: 8
Joined: Tue Aug 14, 2007 12:00 am

Post by Gerhard Sachs » Fri Mar 13, 2009 7:30 am

Thank you for the tip, now it works as expected.

Best Regards
Gerhard

Post Reply