oi Pascal!!

that worked brilliantly, thanks!

Crit




------------------------------------
Wednesday, June 18, 2003, 10:14:45 AM, you wrote:

PP> I did it for a student once. You can do it in cf5 using cfsavecontent
PP> and cfhttp.

PP> <cfsavecontent variable="test">
PP> <cfgraph type="BAR" query="qValues" valuecolumn="values"
PP> itemcolumn="months" scaleto="#form.scale#" itemlabelsize="16"
PP> itemlabelorientation="VERTICAL" title="#form.title#" fileformat="jpg"
PP> barspacing="15" depth="10" colorlist="#form.color#"
gridlines="4">></cfgraph>
PP> </cfsavecontent>
PP> <cfset fnd=ReFindNoCase("src=""([^""]*)""",test,1,TRUE)>
PP> <cfset imgurl=Mid(test,fnd.pos[2],fnd.len[2])>
PP> <cfhttp url="#request.URLPATH##imgurl#" method="GET"
PP> path="#ExpandPath('.')#" file="graph_dept_#form.department_ID#.jpg"
resolveurl="false">>
PP> </cfhttp>
PP> <cfoutput>#request.URLPATH##url#<br>
PP> <img src="graph_dept_#form.department_ID#.jpg"></cfoutput>

PP> Pascal Peters
PP> Certified ColdFusion Advanced Developer
PP> Macromedia Certified Instructor
PP> LR Technologies
PP> Av. E. De Mot, 19
PP> 1000 BRUSSELS, BELGIUM
PP> Tel: +32 2 639 68 70
PP> Fax: +32 2 639 68 99
PP> Email: [EMAIL PROTECTED]
PP> Web: www.lrt.be


PP> -----Original Message-----
PP> From: Mike Townend [mailto:[EMAIL PROTECTED] 
PP> Sent: woensdag 18 juni 2003 16:05
PP> To: CF-Talk
PP> Subject: RE: CFGraph Images


PP> If you are using MX, you can save the graph to a variable and write it
PP> using CFFile...

PP> Not sure if you can do that in CF5 tho


PP> HTH




PP> -----Original Message-----
PP> From: Critz [mailto:[EMAIL PROTECTED] 
PP> Sent: Wednesday, June 18, 2003 14:57
PP> To: CF-Talk
PP> Subject: CFGraph Images


PP> oi CF-Talk,!!

PP>   Anybody, know of a way to save the cfgraph outputted image to disk
PP> programmatically?


PP>   Crit


PP> ---
PP> [This E-mail scanned for viruses by Declude Virus]



PP> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to