Hi,
Still adjusting to the differences between the VCL and FMX versions. Now the issue is printing. I'm attaching two files below. The first is how the chart looks within the FMX app. Everything is fine with it.
The second file is a PDF showing how it prints. Note that the title is tiny, the legend is also tiny, and the marks close to the pie itself are so small you can't really even see them.
The printed chart produced by the VCL version of the app looks perfect. The pie chart is smaller on the page, and the title, legend, and marks/labels are all clearly visible.
As far as I can tell, the properties are set pretty much the same. Can anyone offer any help as to why I'm getting the printed results in the FMX version that I'm getting?
Thanks.
John
Printing Pie Chart issue in FMX
Printing Pie Chart issue in FMX
- Attachments
-
- This is a screen grab of the PDF that is produced when I run the Chart.Print method. Note the small size of the legend and the title. The labels around the pie chart are very tiny as well.
- ChartFMX2.JPG (36.25 KiB) Viewed 16757 times
-
- This is a screen grab of the FMX app's chart. It's displaying everything as it should.
- ChartFMX1.JPG (41.83 KiB) Viewed 16758 times
Re: Printing Pie Chart issue in FMX
Hello,
Try using the TTeePreviewPanel. Ie:
Try using the TTeePreviewPanel. Ie:
Code: Select all
with TTeePreviewPanel.Create(Self) do
begin
Panel:=Chart1;
Print;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Printing Pie Chart issue in FMX
Yeray,
Thanks for the info - but where do I get the unit the TeePreviewPanel unit? I tried adding that to my Uses clause in my form, but it doesn't find it. I have TeeChart Standard.
Thanks for your help.
Thanks for the info - but where do I get the unit the TeePreviewPanel unit? I tried adding that to my Uses clause in my form, but it doesn't find it. I have TeeChart Standard.
Thanks for your help.
Re: Printing Pie Chart issue in FMX
Yeray,
Just to make sure here - I'm using FMX here, not VCL.
Just to make sure here - I'm using FMX here, not VCL.
Re: Printing Pie Chart issue in FMX
Yeray,
Never mind. I found it. Thanks.
Never mind. I found it. Thanks.