Page 1 of 1

Problem with long text in legend

Posted: Wed Sep 07, 2005 8:37 pm
by 9528213
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

Posted: Sat Sep 10, 2005 12:33 am
by Pep
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