Fastreport 2025.1 VCL: Showed TChart in a TFrxPictureView has not full size
I show a TChart in a TFrxPictureView with
lPictureView := TFrxPictureView(frpStandalone.FindObject('rpim03Chart')); if (lPictureView <> nil) then lPictureView.Picture.Assign(FChart.TeeCreateMetafile(False, Rect(0, 0, Round(lPictureView.Width), Round(lPictureView.Height))));
Chart is shown correct in my development environment with Screen 1920 x 1200 resolution
If I run the compiled version on a Laptop with Screen 3840 x 2400, Scaling 250%, Chart is filling only a part of the available space. I tried different settings on AutoSize, KeepAspectRatio, Stretched but no impact
What can I do?
Comments
Hello!
Try contacting support@fast-report.com and attach a small demo project.
After insert of unit XPman on the main window scaling is correct. I use Delphi XE
Now I'm back to the old problem. Chart has not full size.
Printout with 100% scaling
Printout with 225% scaling
I have added a small projekt
As I said. I compiled it with Delphi XE.
Here also the exe, protected with password test
Any news about this?
I have now spent a lot of time trying to find a solution to what I thought was the job of the tool I paid for. With the following code I managed to display the chart correctly even with screen scaling <> 100%