Page 1 of 1

problems with Legend

Posted: Wed Aug 18, 2004 4:33 pm
by 9232649
Hello,

Sometimes the legend border cuts off my title when the number of items in the legend are few. Does anyone have a solution to this problem?

Best Regards,

Johan Ingemansson

Posted: Mon Aug 23, 2004 4:54 pm
by Marjan
Hi.

In this case the only solution is to manually reposition chart title and legend to avoid overlapping. Check Teechart demo to learm more about custom positioning chart legend and/or chart title.

Posted: Thu Sep 09, 2004 5:31 pm
by 9232649
Hi,

You misunderstood me. I ment that the Legend title is longer then the frame in the legend, hence the fram in the legend cuts off, the legend title. Does anyone know how I can redraw the frame?

Best Regards,

Johan Ingemansson

Posted: Fri Sep 10, 2004 8:13 am
by Pep
Hi Johan,

I see the problem. You're correct, it's bug which I've added on our defect list and a fix for it will be considered to inclusion for the next maintenance releases.
In meantime a workaround could be to increase the Column width :
Chart1.Legend.ColumnWidths[0] := 30;

Posted: Wed Sep 22, 2004 2:11 pm
by 9232649
Hi,

Just one "Sub" question, first of all i forgott to mention that my Legend is aligned to the bottom. Second, even if I set the columnwidths[0] to 30 it won´t adjust, I have also set the AutoColumnWidth:=False. Does anyone know how to solve this. I don´t know if I missing something fundamental must this be done after the graph is visually displayed?

Best Regards,

Johan Ingemansson