Page 1 of 1

WPF blurry compared to winforms

Posted: Tue Nov 14, 2017 2:23 pm
by 15682137
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 8021 times

Re: WPF blurry compared to winforms

Posted: Wed Nov 15, 2017 12:56 pm
by Christopher
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;
		}

Re: WPF blurry compared to winforms

Posted: Wed Nov 15, 2017 1:31 pm
by 15682137
That works brilliantly, thanks!
Capture.PNG
Capture.PNG (89.32 KiB) Viewed 8013 times