Setting the minimum Y value

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
CAC
Newbie
Newbie
Posts: 44
Joined: Tue Jun 20, 2006 12:00 am
Location: Plain City, Ohio
Contact:

Setting the minimum Y value

Post by CAC » Thu Nov 30, 2006 2:00 am

I want to programatically set the minimum Y value at 0, but leave the maximum as automatic. Is there a way to use "SetMinMax"?

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

Post by Marjan » Thu Nov 30, 2006 7:12 am

Hi.

No, not by using SetMinMax method. But you can use the following code:

Code: Select all

  With Chart1.Axes.Left do
  begin
    AutomaticMaximum := True;
    AutomaticMinimum := False;
    Minimum := 0.0;
  end;
Marjan Slatinek,
http://www.steema.com

Post Reply