fix the height of Legend

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Krishna
Newbie
Newbie
Posts: 16
Joined: Mon Jun 12, 2006 12:00 am
Contact:

fix the height of Legend

Post by Krishna » Mon Aug 14, 2006 7:09 am

Hi,

I need to fix the height of Legend to the half height of chart Rect.
If the no of items increases the legend scrollbar should be enabled.

Currently the legend height equals the height of the chart and notable to reduce the height.

Regards,
Krishna.

Pep
Site Admin
Site Admin
Posts: 3303
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Aug 14, 2006 8:34 am

Hi Krishna,

one way would be to use TChart OnGetLegend... events to fully customize all legend items. Or alternatively, display only limited range of legend entries and then allow user to scroll these legend entries.

Please take a look at the demos and help file how to use them and if you still having problems let us know.

Post Reply