Page 1 of 1

TeeChart .NET WPF SmoothingMode

Posted: Tue May 11, 2021 3:04 pm
by 15689010
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.

Re: TeeChart .NET WPF SmoothingMode

Posted: Tue May 11, 2021 5:19 pm
by Christopher
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);