Exported PDF not faithful reproduction of the chart

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
riskassessor
Newbie
Newbie
Posts: 29
Joined: Tue Oct 13, 2015 12:00 am

Exported PDF not faithful reproduction of the chart

Post by riskassessor » Fri Dec 04, 2015 8:58 am

test.jpg
test.jpg (151.14 KiB) Viewed 1142 times
I have a chart with an overlay (please see image). The overlay was created in the BeforeDrawSeries event. It consists of an array of rectangles drawn using Chart1.Canvas.Rectangle(...). The stroke on each rectangle was drawn with Chart1.Canvas.Pen.Width = 2. Exporting to PDF with TeeSavetoPDFFile(...), the PDF shows imperfections. The horizontal lines are perfectly aligned on the screen but in the PDF show misalignment. The attached image shows what I mean. Also, the horizontal lines are thinner than the vertical lines.

If I reduce the pen width to zero, the horizontal lines are in perfect alignment but unfortunately the lines are then not sufficiently visible.

Yeray
Site Admin
Site Admin
Posts: 8738
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Exported PDF not faithful reproduction of the chart

Post by Yeray » Fri Dec 04, 2015 3:28 pm

Hello,

Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply