Page 1 of 1

Hide series points in legend

Posted: Thu Sep 16, 2010 12:36 pm
by 16557235
Is it possible to hide certain series points in the legend (eg. null points)?

Re: Hide series points in legend

Posted: Thu Sep 16, 2010 2:33 pm
by narcis
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.

Re: Hide series points in legend

Posted: Fri Sep 17, 2010 6:33 am
by 16557235
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"?

Re: Hide series points in legend

Posted: Fri Sep 17, 2010 9:59 am
by narcis
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.

Re: Hide series points in legend

Posted: Sat Sep 18, 2010 11:11 am
by 16557235
What about custom legend tool. Have you checked this one out?
Not yet, will look into it.