• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 406
  • Last Modified:

CFCHart isue

Can you insert line break in cfchartdata item. I need the legend to display 10 values with a width of 530 for the chart.
0
asaworker
Asked:
asaworker
  • 4
  • 3
1 Solution
 
_agx_Commented:
I am not sure I understand the question. Are you asking how to limit the width of the cfchart?

<cfchart chartWidth="530" ...>
....
</cfchart>
0
 
gdemariaCommented:
what do you mean a line break in cfchartdata item, that is just a point on a graph

If you want, you can create your own legand, it doesn't have to be built into the chart..
0
 
asaworkerAuthor Commented:
Can you insert a character into the cfchartdata item to make the label wrap? chr 13 maybe?
0
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
_agx_Commented:
Yes, you can insert characters.  But what about gdemaria's question?  Are you trying to adjust the format of the legend or the x-axis labels?
0
 
asaworkerAuthor Commented:
x-axis labels.. do you know which characters are exceptable.? What is happening is after a certain with the labels go away, if I make the font smaller they show up.
0
 
_agx_Commented:
On second thought, I don't know that line break characters are is respected in the labels (legends and tooltips, yes).  But I don't think that would help anyway as labels are adjusted automatically based on the bar width.   I think you will have better luck with the suggestion about xml styles here:

http://www.coldfusionjedi.com/index.cfm/2006/2/10/CFCHART-and-the-Case-of-the-Disappearing-Labels
0
 
asaworkerAuthor Commented:
perfect.. Now I have to ask my IT department to get access.
0
 
_agx_Commented:
Just FYI, if you have a copy of CF server installed locally, you can always test webcharts there. Then copy the final xml file to your production server.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now