Software FX Posted November 20, 2000 Report Share Posted November 20, 2000 Hello, The following sample code demonstrates how to do a carriage return and line feed with Cold Fusion. <CFSET Chart1.SetArrayProp("Legend",0,"Month of" & chr(13) & chr(10) & "January")> <CFSET Chart1.SetArrayProp("Legend",1,"Month of" & chr(13) & chr(10) & "February")> <CFSET Chart1.SetArrayProp("Legend",2,"Month of" & chr(13) & chr(10) & "March")> <CFSET Chart1.SetArrayProp("Legend",3,"Month of" & chr(13) & chr(10) & "April")> Justin Trask Software FX IMPORTANT NOTE: In an effort to provide the most advanced solutions in conjunction with the most comprehensive technical support structure, Software FX will implement a Paid-Support Program beginning January 1, 2001 for all existing and future Software FX application users. The specific details of the Paid-Support Program will be released in an upcoming broadcast e-mail, as well as on our website. Please be aware that the online technical support web site at http://support.softwarefx.com will continue to be available without charge. -----Original Message----- From: Leon Out [mailto:leon_spam@comvision.com] Posted At: Thursday, November 16, 2000 4:58 PM Posted To: Server Conversation: Line breaks in Legend Subject: Line breaks in Legend Hi there. I'm trying to insert a line break in a Series Legend, but the best I've been able to do is get it to print the "font missing character" square. Here's what I've tried: <cfset chart1.setarrayprop("SerLeg",legendLocation,unitName & "\n(Confidential)")> <cfset chart1.setarrayprop("SerLeg",legendLocation,unitName & "<br>(Confidential)")> <cfset chart1.setarrayprop("SerLeg",legendLocation,unitName & " (Confidential)")> It should be obvious that what I want is the value of unitName to appear on one line, and "(Confidential)" to appear below it. Can anyone help me with this? Leon Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.