Page 1 of 1

Exported PDF not faithful reproduction of the chart

Posted: Fri Dec 04, 2015 8:58 am
by 17576646
test.jpg
test.jpg (151.14 KiB) Viewed 7099 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.

Re: Exported PDF not faithful reproduction of the chart

Posted: Fri Dec 04, 2015 3:28 pm
by yeray
Hello,

Could you please arrange a simple example project we can run as-is to reproduce the problem here?
Thanks in advance.