Isometric axes

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Dec 22, 2006 9:36 am

Hi Franck,

No, you shouldn't set the same axis size, you should set the same axis scale for vertical and horizontal axis using SetMinMax method, for example.
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

franckgar
Advanced
Posts: 109
Joined: Thu Nov 04, 2004 5:00 am

Post by franckgar » Fri Dec 22, 2006 10:03 am

Could you send me please the new demo program on my email ?
(f dot garnier at bio-logic dot info)
Thanks in advance

Franck

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

Post by Narcís » Fri Dec 22, 2006 10:12 am

Hi Franck,

We don't have any new demo example. In your example, to get it working you should set the same axis scale doing this:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
var i: integer;
begin
   for i := 0 to 100 do
      Series1.AddXY(i, i*2);

   Chart1.Axes.Bottom.SetMinMax(0,i);
   Chart1.Axes.Left.SetMinMax(0,i);
end;
or axes scale would be automatically identic populating series like this:

Code: Select all

procedure TForm1.FormCreate(Sender: TObject);
var i: integer;
begin
   for i := 0 to 100 do
      Series1.AddXY(i, i);
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