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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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?
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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?

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

10 Questions to Ask when Buying Backup Software

Choosing the right backup solution for your organization can be a daunting task. To make the selection process easier, ask solution providers these 10 key questions.

Question has a verified solution.

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

Hi, Even though I have created this Tutorial on My personal Blog, Some people might not able to find my website, So here i am posting it again Today, from the topic it is very clear that i will be showing you here the very basic usage of how we …
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

617 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