Legend number limit

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Legend number limit

Post by qcrnd » Mon Nov 03, 2008 8:52 am

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Nov 03, 2008 11:05 am

Hi qcrnd,

Yes, you can use LegendScrollBar tool for that.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

qcrnd
Advanced
Posts: 214
Joined: Mon Sep 04, 2006 12:00 am

Post by qcrnd » Mon Nov 03, 2008 3:39 pm

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.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Nov 03, 2008 3:58 pm

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!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply