That's kind of what I did -- use cfsavecontent to save the url then use cfhttp to go get it:
<!--- Use the new cfsavecontent tag to capture the dynamically generated url to the graph ---> <cfsavecontent variable="SavedGraphUrl" > <cfgraph type="pie" title="Pie chart of something" titlefont="Arial" fileformat="jpg"> <cfgraphdata item="First Value" value="200" color="Blue"> <cfgraphdata item="Second" color="Red" value="100"> <cfgraphdata item="3" color="Green" value="50"> <cfgraphdata item="4" color="Yellow" value="25"> </cfgraph> </cfsavecontent> This is the saved graph: <br> <cfoutput>#SavedGraphUrl#</cfoutput> <!--- Create a variable for the cfhttp: ---> <cfset NewSavedGraphUrl = SavedGraphUrl> <!--- This removes the img src tag from the url to be used in the cfhttp call ---> <cfset NewSavedGraphUrl = Replace(NewSavedGraphUrl,'<img src="', "","All")> <cfset NewSavedGraphUrl = Replace(NewSavedGraphUrl,'">',"","All")> <!--- Go get image using cfhttp ---> <cfhttp method="GET" url="http://127.0.0.1#NewSavedGraphUrl#" path="c:\Inetpub\wwwroot\" file="test1.jpg"> </cfhttp> ----- Original Message ----- From: "Dave Watts" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, March 21, 2002 10:58 AM Subject: RE: cfgraph...revisited... > > I know that CFGRAPH returns a dynamically generated file > > (either flash or jpg). Is there any way to get it to write > > that file instead? Thanks! > > I don't think there's anything analogous to the offline generator > functionality provided in the standalone Generator product. So, you'll have > to rig something up yourself, probably. You could use CFHTTP to fetch the > file, I suppose, although that's kind of a roundabout way of doing it. > > Dave Watts, CTO, Fig Leaf Software > http://www.figleaf.com/ > voice: (202) 797-5496 > fax: (202) 797-5444 > > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

