grid lines and bottomaxis.position

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
JimR
Newbie
Newbie
Posts: 46
Joined: Mon Oct 24, 2016 12:00 am

grid lines and bottomaxis.position

Post by JimR » Sun Dec 03, 2017 3:53 am

I have set the chart.bottomaxis.position to a small negative number so as to keep points at the bottom of the plot to not be on top of the bottom axis. That works well but if I turn grid lines on then the grid lines do not quite reach the bottom axis (they stop at where the axis would have been). Is there a way to ensure that the grid lines reach an axis when the position offset is not zero?

Thanks, Jim

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

Re: grid lines and bottomaxis.position

Post by Yeray » Mon Dec 04, 2017 7:33 am

Hi Jim,

I'm not sure to understand the purpose of setting "chart.bottomaxis.position to a small negative number".
If you want to give more margin below the points being drawn you can set the Left axis MinimumOffset. Ie:

Code: Select all

  Chart1.Axes.Left.MinimumOffset:=10;
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

JimR
Newbie
Newbie
Posts: 46
Joined: Mon Oct 24, 2016 12:00 am

Re: grid lines and bottomaxis.position

Post by JimR » Mon Dec 04, 2017 10:15 pm

ok, that works. Thanks!

Post Reply