TChartPageNavigator and High DPI
TChartPageNavigator and High DPI
When scaling up my display to 175% for High DPI testing, I notice that the TChartPageNavigator buttons are not scaling up at all; they remain the same size as at a 100% scaling factor. I'm using Delphi Rio 10.3.3 with W10 Pro and the latest TeeChartVCLFMXSOURCE-2020.30 update. Is there any way of using the TChartPageNavigator with a TVirtualImageList to correct this problem? Or do you intend to fix the problem?
Andrew
Andrew
Re: TChartPageNavigator and High DPI
You seem to have answered all other recent messages except for mine! Anyway, since the TChartPageNavigator is not currently usable going forward in a high DPI marketplace, I have developed my own navigator which uses a TVirtualImageList to handle high DPI displays. So, don't worry about replying to this issue.
Re: TChartPageNavigator and High DPI
I'm sorry for the delay here!
I'll give it a try asap
I'll give it a try asap
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChartPageNavigator and High DPI
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChartPageNavigator and High DPI
Thanks Yeray. If you look at the tiny page navigation buttons at the bottom and their large spacing, you will see what I mean.
Re: TChartPageNavigator and High DPI
This is what I expect to see at 175% - with my Page navigator code. Also, I've just noticed that the left and bottom legends overlap with the values. Not sure if that is a TChart problem or something I can fix.
- Attachments
-
- TChartPageNavigator buttons.jpg (102.09 KiB) Viewed 35906 times
Re: TChartPageNavigator and High DPI
I mean the LH and Bottom titles overlap.Also, I've just noticed that the left and bottom legends overlap with the values. Not sure if that is a TChart problem or something I can fix.
Re: TChartPageNavigator and High DPI
It looks as though TChart doesn't scale up properly with the axis titles not adjusting the distance between them and the axis labels as shown in my image above. Can you suggest a workaround or will it need a fix?
Re: TChartPageNavigator and High DPI
Hello,
It seems to work fine for me (the image is in 2D but I've also tried in 3D, in Rio and Sydney):
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
It seems to work fine for me (the image is in 2D but I've also tried in 3D, in Rio and Sydney):
Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChartPageNavigator and High DPI
It would take considerable effort (including providing a NexusDB database!) to provide even a simple example project, so I cannot do that at the moment I'm afraid. If you cannot reproduce this particular issue, then I guess there must be an issue with my app. I'll revisit the issue and let you know if I can solve it.
Thanks
Thanks
Re: TChartPageNavigator and High DPI
Hello,
I think the database has probably nothing to do with the problem you are observing.
You could try to replicate the problem with manually entered data and, if you can reproduce the problem, you could export the chart to a tee file and send it to us so we can try to import it here.
I think the database has probably nothing to do with the problem you are observing.
You could try to replicate the problem with manually entered data and, if you can reproduce the problem, you could export the chart to a tee file and send it to us so we can try to import it here.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TChartPageNavigator and High DPI
Not making any progress with this. Comparing the app compiled in D2007 and 10.4 Sydney in W10 Pro at a display scaling of 175% (with different data) you see:
The units generating both images are identical - just different compilers. As you can see, no scaling in the D2007 image but huge scaling in the 10.4 one. Look at the size of the font in it! As I have said, there seem to be similarities with Issue: 'Display settings and font size'. BTW, I am using my own navigator buttons in the 10.4 image which scale correctly; yours don't.
The units generating both images are identical - just different compilers. As you can see, no scaling in the D2007 image but huge scaling in the 10.4 one. Look at the size of the font in it! As I have said, there seem to be similarities with Issue: 'Display settings and font size'. BTW, I am using my own navigator buttons in the 10.4 image which scale correctly; yours don't.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: TChartPageNavigator and High DPI
Hello,
How about repeating the exercise we did in in the 'Display settings and font size' thread? If you could zip up the two *.exes which give you different results I can run them here to confirm the problem.
Code: Select all
As I have said, there seem to be similarities with Issue: 'Display settings and font size'. BTW, I am using my own navigator buttons in the 10.4 image which scale correctly; yours don't.
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 |
Re: TChartPageNavigator and High DPI
Hi Christopher,
Well, there is a problem somewhere with my code or yours in 10.4, as my images show. I cannot just send you exes; you would have to fully install both versions with their configuration, Help files etc. - which is just not practicable I'm afraid. I will have to produce 2 demo exe-only programs which will take some time. I suggest we wait and see if a fix for the 'Display settings and font size' fixes my problem too - assuming it's not a 10.4 problem. If not, I will produce demo exe's to progress this issue.
Andrew
Well, there is a problem somewhere with my code or yours in 10.4, as my images show. I cannot just send you exes; you would have to fully install both versions with their configuration, Help files etc. - which is just not practicable I'm afraid. I will have to produce 2 demo exe-only programs which will take some time. I suggest we wait and see if a fix for the 'Display settings and font size' fixes my problem too - assuming it's not a 10.4 problem. If not, I will produce demo exe's to progress this issue.
Andrew
Last edited by wasowerby on Fri Aug 07, 2020 9:57 am, edited 1 time in total.
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: TChartPageNavigator and High DPI
Hello Andrew,
As you say, we may now be talking about the same issue - that is, identical TeeChart code (and version) in (say) Delphi 10.2.3 works fine at high DPI (or Text size), whereas it doesn't in Delphi 10.4. I've still not been able to run a Delphi 10.4 compiled app which displays the problem, and here you may be able to help me - if you could, you might like to compile the test app here in Delphi 10.4 and send me a link with the zipped exe so I can see the difference.
No, I'm afraid I don't, as my spec in Steema is more on the .NET side of things. I only have Delphi 10.2.3 installed, and as in the other thread I believe this DPI problem doesn't exist in this version - I've documented this issue in our issue tracker with id=2364.
As you say, we may now be talking about the same issue - that is, identical TeeChart code (and version) in (say) Delphi 10.2.3 works fine at high DPI (or Text size), whereas it doesn't in Delphi 10.4. I've still not been able to run a Delphi 10.4 compiled app which displays the problem, and here you may be able to help me - if you could, you might like to compile the test app here in Delphi 10.4 and send me a link with the zipped exe so I can see the difference.
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 |