Hide series points in legend

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
wiggum
Newbie
Newbie
Posts: 7
Joined: Tue Sep 14, 2010 12:00 am

Hide series points in legend

Post by wiggum » Thu Sep 16, 2010 12:36 pm

Is it possible to hide certain series points in the legend (eg. null points)?

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

Re: Hide series points in legend

Post by Narcís » Thu Sep 16, 2010 2:33 pm

Hi wiggum,

You can either use OnGetLegendText event to hide some legend elements or use Custom Legend tool as in the What's New?\Welcome!\New Chart Tools\Custom Legend in the new features demo, available at TeeChart's program group.
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

wiggum
Newbie
Newbie
Posts: 7
Joined: Tue Sep 14, 2010 12:00 am

Re: Hide series points in legend

Post by wiggum » Fri Sep 17, 2010 6:33 am

You can either use OnGetLegendText event to hide some legend elements
Thanks, that works, sort of. But it isn't possible to remove the "gaps"?
Attachments
Legend2.jpg
Legend2.jpg (9.25 KiB) Viewed 4436 times

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

Re: Hide series points in legend

Post by Narcís » Fri Sep 17, 2010 9:59 am

Hi wiggum,

What about custom legend tool. Have you checked this one out? You could also draw your own legend as in the example Christopher Ireland posted here. This is a .NET thread but same should apply to TeeChart VCL.
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

wiggum
Newbie
Newbie
Posts: 7
Joined: Tue Sep 14, 2010 12:00 am

Re: Hide series points in legend

Post by wiggum » Sat Sep 18, 2010 11:11 am

What about custom legend tool. Have you checked this one out?
Not yet, will look into it.

Post Reply