TeeChart .NET WPF SmoothingMode

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
jfrtx
Newbie
Newbie
Posts: 16
Joined: Wed Jul 01, 2020 12:00 am

TeeChart .NET WPF SmoothingMode

Post by jfrtx » Tue May 11, 2021 3:04 pm

Hi,

In WinForms we are able to set the

Code: Select all

tChart1.Aspect.SmoothingMode = System.Drawing.Drawing2D.SmootingMode.HighSpeed;
Is there an equivalent in WPF for .NET 5? I cannot seem to find it.

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

Re: TeeChart .NET WPF SmoothingMode

Post by Christopher » Tue May 11, 2021 5:19 pm

Hello,

The SmoothingMode set the System.Drawing.Graphics.SmoothingMode of the Windows Forms GDI+ canvas, of which I don't think there is a direct equivalent in the WPF DirectX canvas. The closest I've found in mentioned in this post here, which we can apply both in WPF for .NET Framework 4.X and .NET 5, e.g.

Code: Select all

 _chart1.SetValue(RenderOptions.EdgeModeProperty, EdgeMode.Aliased);
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