Questions tagged [cfchart]

Use the cfchart tag in ColdFusion to display a bar, pie, line, or other applicable type of chart.

The ability to display data in a chart or graph can make data interpretation much easier. Rather than present a simple table of numeric data, you can display a bar, pie, line, or other applicable type of chart using colors, captions, and a two-dimensional or three-dimensional representation of your data.

The ColdFusion cfchart tag, along with the cfchartseries and cfchartdata tags, provide many different chart types. The attributes to these tags let you customize your chart appearance.

You can create 11 types of charts in Adobe ColdFusion in two and three dimensions. The following figure shows a sample of each type of chart.

For more info: Adobe ColdFusion help: Working with Documents, Charts, and Reports - Creating Charts and Graphs

82 questions
5
votes
1 answer

How to align vertical guides between line and bar charts in ZingChart?

With the Update of ColdFusion 9 to ColdFusion 11 the underlying chart engine changed from WebCharts3D to ZingCharts. While I managed to find solutions for most of the incompatibilities between the two libraries and their implementation within the…
Andreas Schuldhaus
  • 2,618
  • 2
  • 19
  • 22
4
votes
1 answer

Presence of single or double quotes in SERIESLABEL or ITEMLABEL giving error in CFCHART

I'm using CF Pie chart for one of my application. But it is working weird. The following code is the chart code and it is giving an error. It doesn't even display the chart. I know that, it is due to the presence of double quotes in the value of…
Rajesh Manilal
  • 1,104
  • 9
  • 20
4
votes
1 answer

ColdFusion 11 cfchart xAxis format

I am trying to create a simple line chart in ColdFusion 11 and would like to format the xAxis to show a date format like mm-dd-yy instead of the full date/timestamp that is showing by default. My code is:
JamesE
  • 3,833
  • 9
  • 44
  • 82
4
votes
1 answer

Zingchart getimagedata via coldfusion

I'm trying to extract the SVG content of a zingchart generated via CFCHART and pass it to my server to convert the SVG into a PNG $('#downloadGraph').click(function() { zingchart.EXPORTURL = 'imageexport.cfm'; zingchart.AJAXEXPORT = true; …
4
votes
1 answer

cfchart x axis intervals

I have created a cfchart in CF10 that has 168 data points - i.e. one for each hour of a week. The issue I am having is that the x axis labels are a little all over the place depending on how wide I make the chart e.g. At the moment they are…
jj2
  • 916
  • 1
  • 8
  • 19
3
votes
3 answers

Cfcfhart within cfthread possible? how to get output?

I'm trying to improve the execution time of one of my reports which uses cfcharts to print graphs. The code itself is a loop of entities and for each entity I create a chart (it's a comparison report). By doing this inline it takes almost a minute…
Bruno Faria
  • 5,219
  • 3
  • 24
  • 27
3
votes
1 answer

Make chart gaps in ZingChart when missing dates in dynamically loaded data?

I have been using ColdFusion 2016 and ZingCharts (bundled) to dynamically create charts using SQL Server, with a time series on the X axis. When there are time gaps I would like the line chart to also show a gap, but instead the line is continuous…
Becalecca
  • 203
  • 1
  • 12
3
votes
3 answers

Coldfusion cfchart stacked order

I have a couple of queries which pull data for use in a graph. SELECT organisationName, count(messageID)*1000/listSize as msgCount FROM clusterReferrals WHERE…
Saul
  • 1,387
  • 5
  • 23
  • 45
3
votes
1 answer

scaleTo in cfchart not working

I am working on ColdFusion 9 - cfchart, Here is part of my code
Santosh D.
  • 537
  • 6
  • 19
3
votes
1 answer

Interactive chart - Coldfusion or jQuery?

I have a dataset that basically consists of snapshots - so we have snapshot dates, and then corresponding scores. These snapshots currently go back about 3 years, and a new one is added each month. We'd like to make an interactive (line) chart that…
froadie
  • 79,995
  • 75
  • 166
  • 235
3
votes
1 answer

ColdFusion CFCHART Pie Chart Data Label Position

I have created a pie chart using the cfchart tag and as of the moment the labels for the chart data show outside of the pie chart, where I would like them placed inside each respective slice. I've looked through CF documentation but can seem to…
Phil
  • 4,029
  • 9
  • 62
  • 107
3
votes
2 answers

How do I change CFCHART title font?

I am using the WebCharts3D interface to create and modify charts, and then using the generated XML style as an in-line style in my Coldfusion code. So this shows up correctly in the WebCharts3D:
TheGerm
  • 481
  • 1
  • 4
  • 18
2
votes
1 answer

Coldfusion: CFChart format labels on horizontal bar graph

I am having trouble aligning Horizontal Bar graph x-axis Labels, I have long names that I have wrapped using /n. The labels are no longer right aligned (see picture). Is there a way to left or right align (see image)? I am new creating charts in CF…
mctobey
  • 31
  • 4
2
votes
1 answer

CFCHART shows only every second label on Y-Axis

I am using CFCHART to display a basic horizontal bar chart, but the result is showing only every second label on the Y-AXIS as shown in the below screenshot. I noticed this is happening only on queries with many lines and it doesn't help if I…
2
votes
0 answers

CFChart labels are offset

I am trying to work with CFChart and am having an issue with the labels of the columns being about 3 inches to the right of the graph. Here is a pic of it: I have been trying to figure out how to get that correctly set over the column. Any help…
Scott
  • 459
  • 2
  • 10
1
2 3 4 5 6