Auto Max Min

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
GoToXY
Newbie
Newbie
Posts: 81
Joined: Thu Apr 03, 2008 12:00 am

Auto Max Min

Post by GoToXY » Thu Apr 22, 2010 8:47 pm

Hi,

I would like to know if there is a some global variable i could change for the Max/Min Automatic value for the Axis. I need a lil gap between my Max valule and the auto max value so that way i could see better the value on the graph. I know i could have done it manually, but you guys seems to have though of everything so... its worth a try ;)

thanks again.

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

Re: Auto Max Min

Post by Yeray » Fri Apr 23, 2010 7:40 am

Hi GoToXY,

It seems you could be looking for MinimumOffset and MaximumOffset, isn't it?

Code: Select all

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

GoToXY
Newbie
Newbie
Posts: 81
Joined: Thu Apr 03, 2008 12:00 am

Re: Auto Max Min

Post by GoToXY » Tue Apr 27, 2010 5:26 pm

heheh again Yeray you are the best. Thanks this is exactly what i was looking for. And on top of that, that value is in pixel so i dont have to convert anything to keep a regular offset for my Y axes.

Thanks a lot.

Post Reply