WPF blurry compared to winforms

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
flobadob
Newbie
Newbie
Posts: 7
Joined: Tue Oct 24, 2017 12:00 am

WPF blurry compared to winforms

Post by 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 8522 times

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

Re: WPF blurry compared to winforms

Post by 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

flobadob
Newbie
Newbie
Posts: 7
Joined: Tue Oct 24, 2017 12:00 am

Re: WPF blurry compared to winforms

Post by flobadob » Wed Nov 15, 2017 1:31 pm

That works brilliantly, thanks!
Capture.PNG
Capture.PNG (89.32 KiB) Viewed 8514 times

Post Reply