Page 1 of 1

Surface series with transparency in Avalonia?

Posted: Thu Apr 18, 2024 8:56 am
by 29097511
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 :)

Re: Surface series with transparency in Avalonia?

Posted: Thu Apr 18, 2024 3:29 pm
by Marc
Hello,

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

Regards,
Marc Meumann

Re: Surface series with transparency in Avalonia?

Posted: Mon Apr 22, 2024 4:02 pm
by Marc
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 1449 times
I hope that may be of help.

Regards,
Marc Meumann