Page 1 of 1

Assign Series to top and bottom axes

Posted: Thu Mar 12, 2009 4:19 pm
by 10546469
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

Posted: Thu Mar 12, 2009 4:54 pm
by yeray
Hi Gerhard,

Have you tried this?

Code: Select all

Chart1[0].HorizAxis := aBothHorizAxis;

Posted: Fri Mar 13, 2009 7:30 am
by 10546469
Thank you for the tip, now it works as expected.

Best Regards
Gerhard