Page 1 of 1

Legend checkboxes in .NET 7

Posted: Wed Mar 15, 2023 9:14 am
by 15687866
Hi,

Is there a new setting in the TeeChart.NET component that I need to set to display the Legend checkboxes? I am using it on NET 7 and I cannot display the checkboxes, even though I have the legend "checkbox" ticked in the editor window. The series visibility is still toggled when I click on the series name, but I would really like to display the checkboxes for clarity. Thanks.

Regards,
Brian

Re: Legend checkboxes in .NET 7

Posted: Wed Mar 15, 2023 10:23 am
by Christopher
Hello Brian,

as I mentioned here, this is because we used the ControlPaint class to draw the checkboxes in .NET Framework, but unfortunately this class doesn't exist in .NET 5.0/6.0/7.0. You will have to add in a Windows Form checkbox manually and use that, I'm afraid (with Legend.CheckBoxes set to false).

We will take that option out of the editor to avoid confusion on this issue.