Community
Participate
Working Groups
Created attachment 109271 [details] report design Description: The bars of crosstab measure chart view are not in line with its row header when preview in PDF. Build number: 2.3.1.v20080804-0630 Steps to reproduce: 1. Preview the attached report design in PDF. Expected result: The bars are in line with its row header. Actual result: The bars are not in line with its row header. Error log: N/A
Created attachment 109272 [details] the pdf file generated from the attached report design
Chart in xtab works correctly in HTML, but fails in PDF. It seems something wrong in conversion.
PDF has different table model from HTML. Chart need to handle the two output formats separately.
(In reply to comment #3) > PDF has different table model from HTML. > Chart need to handle the two output formats separately. > PDF and HTML use the same model to compute the row height: row-height = content-height + top-border-width/2 + bottom-border-width/2 + top-padding + bottom-padding
This issue is caused by cell size computation difference between IE and FF/PDF. In IE, cell size doesn't include padding, but FF and PDF both include padding. To avoid this computation conflict, set 0 padding to cross tab cell in design time. QA needs to re-generate chart in xtab to verify.
Verified in build (2.3.1.v20080827-0630), closed.