Page 1 of 1

Show only certain series in legend as checkboxes

Posted: Mon Mar 01, 2021 9:59 pm
by 16590150
I need to be able to show only certain series in the legend as checkboxes--most of the series always show, the user has the ability to turn off/off only a few series?

How can I do that?

Thank you,

Ed Dressel

Re: Show only certain series in legend as checkboxes

Posted: Tue Mar 02, 2021 3:04 pm
by yeray
Hello Ed,

I'm afraid the legend doesn't support this level of customization. However, you could draw your own legend manually at the OnAfterDraw event.
I've written a simple example:
LegendSomeCheckBoxes.zip
(2.12 KiB) Downloaded 839 times