Page 1 of 1

Setting the minimum Y value

Posted: Thu Nov 30, 2006 2:00 am
by 9241637
I want to programatically set the minimum Y value at 0, but leave the maximum as automatic. Is there a way to use "SetMinMax"?

Posted: Thu Nov 30, 2006 7:12 am
by Marjan
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;