Take a look at the comment by halL here:

http://livedocs.adobe.com/coldfusion/6.1/htmldocs/tags-a11.htm

Could that be the problem?

Adrian
Building a database of ColdFusion errors at http://cferror.org/

-----Original Message-----
From: Khaled SAIDI
Sent: 15 October 2008 10:42
To: cf-talk
Subject: Convert cfchart to image/jpeg Coldfusion 6.1


Hi everybody,

I have a problem with my chart.
I generate a chart with datas from a database.
The chart is correctly displayed in my browser (if a don't use the name
attribut in <cfchart>).
I would like to save this graph on the server as a jpg image.
That's how i try to do it :

<cfchart name="myGraph" format="jpg"....>
.......
</cfchart>

<cffile action= "WRITE"
        file= "xxx/xxx/xxx/xxx/myGraph.jpg"
        output="#myGraph#">

A file is created in the specified path but when i try to display the
picture, it seems the file is empty.

I use coldfusion 6.1.
I'll be glad if anyone of you help me.

Thanx a lot.

Khaled


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

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:313915
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to