Bar chart overdraws on PDF output
Posted: Wed Feb 13, 2008 6:03 pm
If the Y axis of a chart is limited (to 100 for example) and the chart content (ie bars) exceeds the Y axis upper limit (to 140 for example), the PDF output will paint the bars above the chart and into the margin area.
On the screen canvas, the bars are capped at the Y axis limit where on the PDF canvas they are not.
To recreate. I used a stacked bar chart with automatic Y scaling. Reset the Y scaling and set the Y Max value to less than one of the bar maximums. When the screen canvas is drawn, some of the bars will be "capped". When the output of the chart is directed to the PDF format, the bars will not be capped.
On the screen canvas, the bars are capped at the Y axis limit where on the PDF canvas they are not.
To recreate. I used a stacked bar chart with automatic Y scaling. Reset the Y scaling and set the Y Max value to less than one of the bar maximums. When the screen canvas is drawn, some of the bars will be "capped". When the output of the chart is directed to the PDF format, the bars will not be capped.