Legend bottom

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Legend bottom

Post by Calou » Mon Mar 02, 2009 11:54 am

Hello,

I want to place a component under the legend. I can have the left point with legend.left but for the top if i use legend.height with legend.top the point is not correct.

How could i do to have the coordinate of the legend's bottom?

Regards

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

Post by Yeray » Mon Mar 02, 2009 12:37 pm

Hi Calou,

Could you try this code to obtain the legend's height?

Code: Select all

Chart1.Legend.RectLegend.Bottom - Chart1.Legend.RectLegend.Top
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

Calou
Advanced
Posts: 104
Joined: Wed Nov 19, 2008 12:00 am

Post by Calou » Mon Mar 02, 2009 2:14 pm

It is good with Legend.RectLegend.Bottom only

Thank you

Regards

Post Reply