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

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.