Problems with DPI.

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
TMac
Newbie
Newbie
Posts: 21
Joined: Mon Mar 10, 2008 12:00 am

Problems with DPI.

Post by TMac » Fri Jun 27, 2008 9:07 pm

I'm using TChart .NET Version 3. When I change the DPI setting on Windows Vista to 120 instead of 96, I get a lot of rendering issues in my charts.

I'm hosting the WinForms TChart inside a WPF app and setting the TChart's height/width to the WPF container's size. When I set the width/height of the TChart control, it seems to recalculate itself to a larger value than I set to it.

I tested this with another WinForms control in TChart's place, and it sized as I wanted it to.

Is this a problem in TChart or is it a problem with the way I am doing it? Does TChart have a built in system for handling changes in dpi.

Thanks!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jun 30, 2008 10:11 am

Hi TMac,

Why aren't you using TeeChart's native WPF control? If TeeChart works ok in a WinForm but doesn't work fine in the container you uses to host it in WPF, then it's probably a problem with the container.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply