Page 1 of 1

Problems with DPI.

Posted: Fri Jun 27, 2008 9:07 pm
by 13048566
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!

Posted: Mon Jun 30, 2008 10:11 am
by narcis
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.