Jump to content
Software FX Community

RE: Line breaks in Legend

Software FX

Recommended Posts


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


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 &


<cfset chart1.setarrayprop("SerLeg",legendLocation,unitName &


<cfset chart1.setarrayprop("SerLeg",legendLocation,unitName & "


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?


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...