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!
Problems with DPI.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
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.
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 |
Instructions - How to post in this forum |