Solved

CFCHart isue

Posted on 2009-04-03
8
391 Views
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.
0
Comment
Question by:asaworker
  • 4
  • 3
8 Comments
 
LVL 52

Expert Comment

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

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

Expert Comment

by:gdemaria
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..
0
 

Author Comment

by:asaworker
ID: 24062944
Can you insert a character into the cfchartdata item to make the label wrap? chr 13 maybe?
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 52

Expert Comment

by:_agx_
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?
0
 

Author Comment

by:asaworker
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.
0
 
LVL 52

Accepted Solution

by:
_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:

http://www.coldfusionjedi.com/index.cfm/2006/2/10/CFCHART-and-the-Case-of-the-Disappearing-Labels
0
 

Author Closing Comment

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

Expert Comment

by:_agx_
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.  
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Today, I was working on some optimization and spam-stopping techniques when I encountered Ben Nadel's post to reduce spam feature using Math (http://www.bennadel.com/blog/197-How-I-Stop-Spammers-On-My-ColdFusion-Blog.htm). While this method is not o…
Hi. There are several upload tutorials using jquery and coldfusion. I found a very interesting one here Upload Your Files using Jquery & ColdFusion and Preview them (http://www.randhawaworld.com/) . I did keep the main js functions but made sever…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 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