Legend location

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
marinav
Newbie
Newbie
Posts: 1
Joined: Mon Oct 04, 2010 12:00 am

Legend location

Post by marinav » Sun Mar 20, 2011 10:59 am

Hello
Is there a way to put legends directly on the charts ?
Thanks

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

Re: Legend location

Post by Yeray » Mon Mar 21, 2011 8:10 am

Hi marinav,

To move the legend?
You can use predefined locations:

Code: Select all

Chart1.Legend.Alignment:=laBottom;//laTop//laRight//laLeft
Or a custom position:

Code: Select all

  Chart1.Legend.CustomPosition:=true;
  Chart1.Legend.Left:=50;
  Chart1.Legend.Top:=100;
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