Page 1 of 1

Legend number limit

Posted: Mon Nov 03, 2008 8:52 am
by 9092401
Hi
I see that if I have many series and I make my chart smaller , some of the series disappear from the legend box. Is there no option for the legend box to be scrollable so that all the legends will appear even if the chart too small for all the legends to appear

Thanks.

Posted: Mon Nov 03, 2008 11:05 am
by narcis
Hi qcrnd,

Yes, you can use LegendScrollBar tool for that.

Posted: Mon Nov 03, 2008 3:39 pm
by 9092401
Hi Narcis

couldnt quite understand how to use it from the documentation.
Does this replace the existing legend ?
can you send me an example on how to change the existing legend to a scrollable legend.
Thanks.

Posted: Mon Nov 03, 2008 3:58 pm
by narcis
Hi qcrnd,

No, it doesn't replace existing legend, it just adds a scrollbar to it. You can use it like this:

Code: Select all

			Steema.TeeChart.Tools.LegendScrollBar legendScrollBar1 = new Steema.TeeChart.Tools.LegendScrollBar(tChart1.Chart);
Or at designtime at Tools tab -> + button -> Other -> Legend ScrollBar.

Hope this helps!