Foot

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
guzial
Newbie
Newbie
Posts: 5
Joined: Mon Nov 06, 2006 12:00 am
Location: Poland

Foot

Post by guzial » Mon Jan 15, 2007 7:17 am

hello

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

kind regards

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

Post by Yeray » Mon Jan 15, 2007 9:40 am

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;
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

Post Reply