I have just tried the example from the cf documentation to create a chart and 
embed it in a pdf. It does not work. The two typos in the documentation kind of 
indicate that it was never tested. 

Has anyone ever got flash charts in a pdf to work? The example just produces a 
blank page.

Here is the corrected code:

<cfdocument format="pdf">
<!--- Flash chart embedded here. --->
    <cfchart format="flash" xaxistitle="Department" yaxistitle="Salary Average">
        <cfchartseries type="bar" query="DataTable" itemcolumn="Dept_Name"
            valuecolumn="avgSal">
            <cfchartdata item="Facilities" value="35000">
        </cfchartseries>
    </cfchart>
</cfdocument>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305681
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to