HELP! Have you ever successfully output a cfchart within a cfdocument?

I have a cfchart (flash format) that works great within a normal cfm page. I'm running CF 8 so I should be able to embed the cfchart within a cfdocument but for whatever reason I cannot. If I change the chart format to png or jpg then I get a red x and if I run it as a flash format I get nothing. Has anyone out there ran into this and lived to tell the tale?

UPDATE: Outputting the cfchart in png format will work if the localUrl attribute is removed (or set to false).

TweetBacks
Comments
CJB's Gravatar Can you try something like this?

<cfdocument format="PDF" name="reportOutput" fontembed="false">
   <cfchart
         format="png"
         xAxisTitle="My Title"
       yAxisTitle="#variables.myTitle#"
         chartWidth="900">
         <cfchartseries
       type="line"
       query="variables.myQuery"
       valueColumn="myValue"
       itemColumn="myItem" />
      </cfchart>   
</cfdocument>

<cfheader name="Content-Disposition" value="attachment; filename=""myfile.pdf""">
<cfcontent reset="yes" type="application/pdf" variable="#reportOutput#">
# Posted By CJB | 10/26/09 5:06 PM
BlogCFC was created by Raymond Camden. This blog is running version 5.9.5. Contact Blog Owner