WPF blurry compared to winforms

TeeChart for Microsoft Visual Studio.Net, Xamarin Studio (Android, iOS & Forms) & Monodevelop.

WPF blurry compared to winforms

Postby flobadob » Tue Nov 14, 2017 2:23 pm

We have tried to switch over from the winforms teechart to the WPF teecchart but we are having issues with anti-aliasing in all the WPF stuff. I've attached an example screen grab with the winforms on the left and WPF on the right. Both were produced with almost identical code (barring different color and dashline types). The chart is basically a bunch of tchart Box types. We have similar issues on our more regular chart types, especially in the fonts, but this is the most obvious example. Can you advise on how we could go about fixing this please? (I've run out of ideas after trying for a few days).

thanks,
K

Capture.PNG
Capture.PNG (28.04 KiB) Viewed 28 times
flobadob
Newbie
Newbie
 
Posts: 5
Joined: Tue Oct 24, 2017 12:00 am

Re: WPF blurry compared to winforms

Postby Christopher » Wed Nov 15, 2017 12:56 pm

Hello K,

Have you tried the UseGuideLines property? e.g.

Code: Select all
      private void Button_Click(object sender, RoutedEventArgs e)
      {
         tChart1.Aspect.UseGuidelines = !tChart1.Aspect.UseGuidelines;
      }
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
Christopher
Advanced
 
Posts: 972
Joined: Fri Nov 15, 2002 12:00 am

Re: WPF blurry compared to winforms

Postby flobadob » Wed Nov 15, 2017 1:31 pm

That works brilliantly, thanks!

Capture.PNG
Capture.PNG (89.32 KiB) Viewed 13 times
flobadob
Newbie
Newbie
 
Posts: 5
Joined: Tue Oct 24, 2017 12:00 am


Return to .NET

Who is online

Users browsing this forum: Google [Bot] and 6 guests

cron