Page 1 of 1

Foot

Posted: Mon Jan 15, 2007 7:17 am
by 9044988
hello

it is possible to set foot of the chart to not visible but printable?

kind regards

Posted: Mon Jan 15, 2007 9:40 am
by yeray
Hi guzial,
you could do a little trick: Set the foot not visible when creating the form and then use a button which sets the foot visible, calls the print function, and sets the foot not visible again.

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Chart1.Foot.Visible := false;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  Chart1.Foot.Caption := 'My Foot Title';
  Chart1.Foot.Visible := true;
  Chart1.Print();
  Chart1.Foot.Visible := false;
end;