Put a bar chart into a pdf file generated by ColdFusion
I'm using ColdFusion 8.0 running on a Linux server and a MySql db. I want to generate a pdf file that contains a table of info from the db and also a bar chart. The table is fine, but the bar chart isn't displaying. Here's my chunk of code for the chart:
<cfchart format="flash"
yaxistitle="% yield"
chartwidth="640"
chartheight="480">
<cfchartseries type="horizontalbar"
query="bar_info"
valuecolumn="col1"
itemcolumn="col2">
</cfchart>
</cfdocument>
<cfpdf action="write"
source="hreport"
destination="createreportPDF.pdf" overwrite="yes"/>
<cfpdf name="pdf" action="read" source="createreportPDF.pdf"/>
Any suggestions much appreciated. Thank you.
