Problem with long text in legend

TeeChart for ActiveX, COM and ASP
Post Reply
Bjørn
Newbie
Newbie
Posts: 5
Joined: Thu Sep 01, 2005 4:00 am
Location: Norway

Problem with long text in legend

Post by Bjørn » Wed Sep 07, 2005 8:37 pm

I've got at problem that I am unsure how to solve.

On a graph - I have got very long legend description

see http://www.bitmaker.no/info/steema.htm for an example

a) is there a way to break the line of the legend description? I've tried vit insering crlf but this does not help.

(vb6).

b) is it possible to place the legend above (or below) the graph so that the length is not a problem?

regards
bjoern

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

Post by Pep » Sat Sep 10, 2005 12:33 am

Hi,

a) This feature is not yet supported. A way around this would be to manually draw legend items directly on legend canvas. There is an example of this (custom legend drawing) available in the Demo Features project under :
("All Features -> Welcome -> Miscellaneous -> Legend -> Drawing more text").

b) Yes, you can align it using :
tchart1.Legend.Alignment = laBottom

Post Reply