Legend checkboxes in .NET 7

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Brian
Newbie
Newbie
Posts: 7
Joined: Wed Jan 22, 2020 12:00 am

Legend checkboxes in .NET 7

Post by Brian » Wed Mar 15, 2023 9:14 am

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
Attachments
Screenshot 2023-03-15 170826.png
Screenshot 2023-03-15 170826.png (58.45 KiB) Viewed 6072 times

Christopher
Guru
Posts: 1603
Joined: Fri Nov 15, 2002 12:00 am

Re: Legend checkboxes in .NET 7

Post by Christopher » Wed Mar 15, 2023 10:23 am

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.
Best Regards,
Christopher Ireland / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Instructions - How to post in this forum

Post Reply