I am trying to use svg for my charts and graphs in a pdf.
I am having the following problems:
1) the chart area is not respected by the other areas. The svg chart seems to allow other content to "run into it". If I do not use svg, but a jpg or other image for the chart, this does not happen.
"Good fences make good neighbors" (just came to mind)
2) The svg image looks very rough. I need to set "Smooth line art" manually in the acrobat reader. Is there anyway around this? The average user is not going to know how to do this, and I will get screamed at.
3) The svg does not get scaled. I have tried setting a width on the image. I don't think it is doing anything. The svg image goes beyond my page margins. it doesn't respect anything!
<fo:block>
<fo:external-graphic src="http://test.rhoderunner.com/hragraph/servlet/chart?val=x&title=Health+Score&showLegend=true&series=November+1999&chartValues=1&chartValues=14&chartValues=1&chartValues=1&chartValues=25&chartValues=9&chartValues=15&categories=Cancer&categories=Heart+Disease&categories=Emphysema&categories=Cirrhosis&categories=Arthritis&categories=Overall&categories=Self-assessed+Health&chartType=1&format=svg" width="13cm" />
</fo:block>
Thanks for any pointers. I have a ton of example fo and pdf that you can see that demonstrates this problem at http://test.rhoderunner.com/logs/
