Legend - Problem when using Custom Axis

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
moelski
Advanced
Posts: 212
Joined: Mon Apr 23, 2007 12:00 am
Location: Germany
Contact:

Legend - Problem when using Custom Axis

Post by moelski » Tue Jul 24, 2007 6:09 pm

Hi !

I´ve added some custom axis to my chart. And I enabled the legend.

First question...
Why can´t the legend placed correct? If you choose the legend to be on the right side there will be a lot of unused space after the legend is visible. And the legend itself is drawn under the axis. Strang thing ...
(This happens is Resize Chart is enabled).

Second question ...
You offer a position Offset in %. Great thing but why only for the vertical direction? Why isn´t there the same function for horizontal? If this function would be realized problem 1 would be solved .....

So what can I do to place the legend corret if I choose left / right position?

xxxxxx
Advanced
Posts: 128
Joined: Tue Jun 19, 2007 12:00 am
Location: Russia
Contact:

Post by xxxxxx » Tue Jul 24, 2007 6:24 pm

Hi, Dominik!
Pay attention to TOnGetLegendPos event and CustomPosition property.
Regards,
Alexander

Post Reply