TChartPageNavigator and High DPI

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
wasowerby
Newbie
Newbie
Posts: 23
Joined: Thu May 14, 2020 12:00 am

Re: TChartPageNavigator and High DPI

Post by wasowerby » Fri Aug 07, 2020 10:00 am

Ok Christopher, I'll try that. BTW, I edited my last msg but hadn't seen that you had already replied - doh!

Andrew

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

Re: TChartPageNavigator and High DPI

Post by Christopher » Fri Aug 07, 2020 10:19 am

Hello Andrew,
wasowerby wrote:
Fri Aug 07, 2020 10:00 am
Ok Christopher, I'll try that. BTW, I edited my last msg but hadn't seen that you had already replied - doh!
Thank you, that would be great - and no problem :)
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

wasowerby
Newbie
Newbie
Posts: 23
Joined: Thu May 14, 2020 12:00 am

Re: TChartPageNavigator and High DPI

Post by wasowerby » Fri Aug 07, 2020 1:36 pm

Hi Christopher,

I replied a few hours ago, but my message seems to have disappeared. Your demo works perfectly at 100% and 175% when compiled here by 10.4 with patched 1 - 3. So it looks as though there is a problem with my environment or code. Thanks for your help in progressing this issue. I'll get back to you if I find a solution.

Andrew

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

Re: TChartPageNavigator and High DPI

Post by Christopher » Fri Aug 07, 2020 1:51 pm

Hello Andrew,
wasowerby wrote:
Fri Aug 07, 2020 1:36 pm
I replied a few hours ago, but my message seems to have disappeared. Your demo works perfectly at 100% and 175% when compiled here by 10.4 with patched 1 - 3. So it looks as though there is a problem with my environment or code. Thanks for your help in progressing this issue. I'll get back to you if I find a solution.
I'm sorry your message disappeared, not at all sure what happened there. Glad to hear I may have been of some help, on the other hand - if you were to report back with any further news on this problem that would be greatly appreciated.
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

wasowerby
Newbie
Newbie
Posts: 23
Joined: Thu May 14, 2020 12:00 am

Re: TChartPageNavigator and High DPI

Post by wasowerby » Sat Aug 08, 2020 4:32 pm

Found the problem. The Chart>Axis>Left/Bottom>Labels>Size settings were 33 and 27 respectively. These were fine for 100% scaling but not for 175%; setting them both to 0 fixed the problem. I wouldn't have found this problem if I hadn't been able to compare all my properties and settings with the one's in Ed's demo! I think you still need to fix your Navigator buttons for high-DPI though.

Thanks for your help with this.

Andrew

wasowerby
Newbie
Newbie
Posts: 23
Joined: Thu May 14, 2020 12:00 am

Re: TChartPageNavigator and High DPI

Post by wasowerby » Mon Aug 10, 2020 9:29 am

However... Just noticed that, although there is now no overlapping between axis titles and labels, the axis titles now aren't scaled up at 175%! How do I fix that?

Andrew
Attachments
TChart_Scaling.jpg
TChart_Scaling.jpg (110.77 KiB) Viewed 14884 times

wasowerby
Newbie
Newbie
Posts: 23
Joined: Thu May 14, 2020 12:00 am

Re: TChartPageNavigator and High DPI

Post by wasowerby » Mon Aug 10, 2020 9:42 am

Actually, measured them at 100 and 175% with a ruler and they are scaled up. So please ignore my comment.

Thanks, Andrew

Post Reply