CFCHart isue

Posted on 2009-04-03
Last Modified: 2013-12-24
Can you insert line break in cfchartdata item. I need the legend to display 10 values with a width of 530 for the chart.
Question by:asaworker
  • 4
  • 3
LVL 52

Expert Comment

ID: 24062884
I am not sure I understand the question. Are you asking how to limit the width of the cfchart?

<cfchart chartWidth="530" ...>
LVL 39

Expert Comment

ID: 24062895
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..

Author Comment

ID: 24062944
Can you insert a character into the cfchartdata item to make the label wrap? chr 13 maybe?
LVL 52

Expert Comment

ID: 24063089
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?
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.


Author Comment

ID: 24063449
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.
LVL 52

Accepted Solution

_agx_ earned 500 total points
ID: 24063708
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:

Author Closing Comment

ID: 31566436
perfect.. Now I have to ask my IT department to get access.
LVL 52

Expert Comment

ID: 24064145
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.  

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Fixing some Issues with regex again 9 27
Change local server setting in php 6 81
How to stress test an ASP.NET https website 3 62
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now