Zoom Rectangle Solid

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
sjhein
Newbie
Newbie
Posts: 2
Joined: Thu Sep 01, 2022 12:00 am

Zoom Rectangle Solid

Post by sjhein » Fri Oct 14, 2022 5:27 pm

I recently upgraded TeeChart .NET from an older version (4.2018.10.1) to the latest release (4.2022.10.11). Everything seems to be working as expected so far with the exception of the zoom rectangle, which is now filled with a solid color rather than being transparent. How can I return this to the previous behavior with a transparent rectangle?

Visual Studio 2022 on a Windows 11 machine.
TeeChart Zoom Rectangle.png
TeeChart Zoom Rectangle.png (122.56 KiB) Viewed 4254 times

sjhein
Newbie
Newbie
Posts: 2
Joined: Thu Sep 01, 2022 12:00 am

Re: Zoom Rectangle Solid

Post by sjhein » Fri Oct 14, 2022 5:55 pm

I did a little more digging and it appears I need to explicitly set .Zoom.Brush.Transparency to something greater than 0 (which seems to be the default) to achieve the previous behavior.

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

Re: Zoom Rectangle Solid

Post by Christopher » Tue Oct 18, 2022 11:47 am

sjhein wrote:
Fri Oct 14, 2022 5:55 pm
I did a little more digging and it appears I need to explicitly set .Zoom.Brush.Transparency to something greater than 0 (which seems to be the default) to achieve the previous behavior.
Yes, this is a difference between the .NET Framework 4.0 and .NET 6.0 versions, apologies for the time you had to spend here to revert behaviour to the former. We will review this difference.
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