CustomHorizAxis ?

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Theo
Newbie
Newbie
Posts: 7
Joined: Wed Mar 15, 2006 12:00 am
Contact:

CustomHorizAxis ?

Post by Theo » Sat Mar 18, 2006 1:00 am

I couldn't make CustomHorizAxis work ? (v7.06)
...using the same code as for CustomVertAxis

Even in the help the example for CustomHorizAxis is with CustomVertAxis ?

Any examples of CustomHorizAxis use?

Theo

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Mar 20, 2006 8:51 am

Hi Theo,

It works fine here using v7.06, adding a custom axis at design-time, setting its position to horizontal and using:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
begin
  Series1.CustomHorizAxis:=Chart1.CustomAxes.Items[0];
  Chart1.CustomAxes.Items[0].Visible:=true;
end;
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply