Whatever message this page gives is out now! Go check it out!

cfgraph

Last update:
May 18, 2026

Description

This tag is deprecated. Use the cfchartcfchartdata and cfchartseries tags instead.Displays data graphically.

History

ColdFusion 11: Removed this tag.
ColdFusion MX: Deprecated this tag. It works differently than it did in ColdFusion 5, and it might not work in later releases.

The incompatibilities between the ColdFusion MX implementation and earlier implementations of this tag are as follows:
cfgraph tag attribute
ColdFusion MX functionality
Title
Ignored.
Titlefont
Ignored.
Barspacing
Ignored.
Bordercolor
Color used for border, gridlines, and text displays.
Colorlist
List of colors to use for each data point for bar, pyramid, area, horizontalbar, cone, cylinder, step, and pie charts.
Valuelabelfont
Sets value label text font. If the Valuelabelfont, Itemlabelfont, and Legendfont values differ, ColdFusion uses the last value that you specify in the tag.Arial is not supported; it is mapped to Dialog.
Itemlabelfont
Sets item label text font. If the Valuelabelfont, Itemlabelfont, and Legendfont values differ, ColdFusion uses the last value that you specify in the tag.Arial is not supported; it is mapped to Dialog.
Legendfont
Sets legend text font. If the Valuelabelfont, Itemlabelfont, and Legendfont values differ, ColdFusion uses the last value that you specify in the tagArial is not supported; it is mapped to Dialog.
ShowLegend
  • above, below, left, right: these options cause the legend to display, but have no effect on its location.
  • none: prevents display of a legend.
Valuelabelsize
Sets value label text size. If the Valuelabelsize and Itemlabelsize values differ, ColdFusion uses the last value that you specify in the tag.
Itemlabelsize
Sets item label text size.
Itemlabelorientation
Ignored. ColdFusion calculates best orientation based on label and graph size.
Borderwidth
  • a nonzero number: default-width border, regardless of number value.
  • 0: no border.
Depth
  • 0: displays graph with two-dimensional appearance.
  • any other value: displays graph with three-dimensional appearance.
Linewidth
Ignored.
Showvaluelabel
  • yes: displays values on mouse-click.
  • no: suppresses value displays.
  • rollover: displays values on mouse-over.
Valuelocation
Ignored.
url
URL of page to open if any item in the graph is clicked. The following variables may be used within the URL; they are substituted with real values before the URL is accessed:
  • "$value$": selected row/column value or an empty string.
  • "$itemlabel$": selected item (column) value or an empty string.
  • "$serieslabel$": selected series (row) value or an empty string.
  • "javascript:...": executes client side scripts.
Urlcolumn
Ignored.
Type="HorizontalBar"
The (0,0) coordinate is located at the lower left.
ScaleFrom
If the smallest value in the data is less than scaleFrom or the largest value in the data is greater than scaleTo, the respective data value is used as the minimum or maximum on the Y scale. Therefore, regardless of the scaleFrom or scaleTo value, all data values display.

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page