TLineSeries Title

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
neo
Newbie
Newbie
Posts: 17
Joined: Tue Jul 19, 2005 4:00 am

TLineSeries Title

Post by neo » Mon Sep 18, 2006 8:45 pm

Hello,

I have multiple line series on a single TChart. Each of these series has a different Title property to identify it. I've noticed that when adding a title to a line series it automatically adds it to a legend. This is great except for the fact that there appears to be a character limit for each title. My line series titles can be short or quite long. Is there any way I can add horizontal and vertical scrollbars to that legend. I've never saw this technique used in any other software however it might be my only option. I suppose I could hook up a TTreeView but the legend looks better.

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 » Tue Sep 19, 2006 8:13 am

Hi neo,

You can use TLegendScrollBar tool to add a scroll bar to the legend. The position of the scroll bar (vertical or horizontal) will depend on the legend alignment (right, left -> vertical; top, bottom -> horizontal). You could try playing combining alignment property with legend's NumRows, NumCols, MaxNumRows, etc.
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

neo
Newbie
Newbie
Posts: 17
Joined: Tue Jul 19, 2005 4:00 am

Post by neo » Tue Sep 19, 2006 7:07 pm

Thank you.

I'll have a look into TLegendScrollBar

Cheers

Post Reply