Surface series with transparency in Avalonia?

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Thomas
Newbie
Newbie
Posts: 4
Joined: Fri Jan 26, 2024 12:00 am

Surface series with transparency in Avalonia?

Post by Thomas » Thu Apr 18, 2024 8:56 am

Hello, I am currently using Steema.TeeChart.NET.Avalonia (version 5.2023.10.27) in my project. I need to plot 2 surface series in the same chart. So far with only a single chart, it works smoothly without problems, but when I try to display 2 series at the same time, it seems that in some view angles, the two surfaces will overlap and not display properly. I try setting the transparency in the class Steema.TeeChart.Styles.Surface, but it still renders like a fully opaque object. I have searched and read some posts in the forum, and I might need to use TeeOpenGL in some old answers, but I also found out that in recent years TeeOpenGL has been deprecated. So what should I do to fix this display glitch? Thanks in advance :)

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Surface series with transparency in Avalonia?

Post by Marc » Thu Apr 18, 2024 3:29 pm

Hello,

Thank you for the point you've raised. We're investigating and will get back to this thread.

Regards,
Marc Meumann
Steema Support

Marc
Site Admin
Site Admin
Posts: 1266
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Re: Surface series with transparency in Avalonia?

Post by Marc » Mon Apr 22, 2024 4:02 pm

Hello,

Yes, transparency offers better visualisation for overlaying surfaces.

I 've uploaded a working example here:
https://github.com/Steema/TeeChart-Aval ... faceSeries


surfaces_avalonia.png
surfaces_avalonia.png (255.29 KiB) Viewed 12486 times
I hope that may be of help.

Regards,
Marc Meumann
Steema Support

Post Reply