Search found 8 matches

by Bill Anderson
Tue May 09, 2017 4:52 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Yeray, That suggestion to put FormAfterMonitorDpiChanged(this, 96, Monitor->PixelsPerInch); into the Form1 constructor solved the problem! I just have one more question on controlling the fonts in TChart: I am having difficulty in bringing the bottom axis numbers closer to the axis. I cant seem t...
by Bill Anderson
Mon May 08, 2017 4:08 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Yeray, I was successful in implementing your code from 5 May, 14:43 using FormAfterMonitorDpiChanged() so that when I CHANGE FROM 1920x1080 at 100% TO 3840x2160 pixels at 200% the LeftAxis fonts scaled correctly to the right size. However if I START the program at 3840 pixels at 200% then the Lef...
by Bill Anderson
Fri May 05, 2017 2:18 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Veray, I had no progress with the Delphi code you provided. I really don't know Delphi, and I have enough trouble with C/C++!!! Could you please send me a C++ Builder equivalent, and also tell me where you got the OldDPI and NewDPI. Sending me all the code in this project would actually be much a...
by Bill Anderson
Wed May 03, 2017 5:45 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Versay, No, this does not work correctly, ie when the high resolution monitor was set to its native resolution (3840 x 2160) and the size of the text was set to 200%, the project1.exe TChart font sizes were still INCORRECTLY HALF those in the RAD Studio XE10.1. But now, instead the size of the nu...
by Bill Anderson
Tue May 02, 2017 4:19 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Yeray, Thenk you. I got the code TO WORK at 100% of the native resolution of my monitors: 1920 x 1080 and 3840 x 2160. (See TChartBUG_1920x1080_100%.png and TChartBUG_3840x2160_100%.png.) However I did find an additional bug that if you set one of the high resolution monitors to its native resolu...
by Bill Anderson
Fri Apr 28, 2017 1:31 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Hi Yeray, I'm sorry to say this, but the changes you suggested didn't work - I still get SanSerif-like TChart output fonts!!! I reinstalled my TChart Pro using TeeChartVCLFMX-2016.18.exe - so that I could use your '915' additions ( but I used my '924' rather than your '915') Then in Project1.cbproj ...
by Bill Anderson
Tue Apr 25, 2017 12:41 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Re: Cannot change font name for numbers on TChart axes

Dear Yeray, I made a simple sample project that shows that Ariel 9 fonts are NOT correctly printed as LeftAxis number labels. The Arial 9 fonts appear correctly in the uncompiled Form1 of Unit1.cpp (LEFT side of Anderson_TChartBUG_Arial_vs_SansSerif.png in the attached Anderson_TChartBUG_Arial_vs_Sa...
by Bill Anderson
Mon Apr 17, 2017 4:16 pm
Forum: VCL
Topic: Cannot change font name for numbers on TChart axes
Replies: 15
Views: 20844

Cannot change font name for numbers on TChart axes

Dear TeeChart technical help, I am using RAD Studio 10.1 Berlin and a registered version of Steema TeeChart Pro VCL FMX 2016.18, and am updating a project from BDS 2006. I am trying to change the fonts for the numbers on the left and bottom axis from 'MS Sans Serif' to 'Arial' - and I CANNOT DO THIS...