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.

Leave a Comment