cfgraph

Overview ColdFusion Open BlueDragon Lucee

Displays a graphical representation of data.

Attributes

Name Required Type Default Description
backgroundcolor No Color of the chart background.
barspacing No Spacing between bars in the chart, in pixels.
bordercolor No Border color.
borderwidth No Border thickness, in pixels.
colorlist No Comma delimited list of colors to use for each data point.
depth No Depth of 3D chart appearance, in pixels.
fileformat No File type to be used for the output displayed in the browser.
fill No Width of the graph line, in pixels.
graphheight No Height of the graph, in pixels. Default is 240.
graphwidth No Width of the graph, in pixels. Default is 320.
gridlines No An integer that specifies the number of grid lines to display on the chart between the top and bottom lines.
itemcolumn No Query column that contains the item label for the corresponding data point. The item labels appear in the chart legend.
itemlabelfont No The font used for the item labels.
itemlabelorientation No Orientation of item labels.
itemlabelsize No The size of the item labels, in points.
legendfont No The font used to display the legend.
linecolor No The color used to draw the data line.
linewidth No Specifies whether to fill the area below the line with the line color to create an area graph.
query No Name of the query containing the data to graph. Required if you do not use cfgraphdata tags in the cfgraph tag body to specify the data values.
scalefrom No The minimum value of the graph value axis (the vertical axis for Bar charts, the horizontal axis for HorizontalBar charts).
scaleto No The maximum value of the graph value axis.
showitemlabel No Specifies whether to put item labels on the horizontal axis of bar charts and the vertical axis of HorizontalBar charts.
showlegend No The placement of the legend that identifies colors with the data labels.
showvaluelabel No Specifies whether values are displayed for the data points.
title No Title to display centered above the chart, or below the chart if the legend is above the chart.
titlefont No The font used to display the title.
type No Type of chart to display.
url No A URL to load when the user clicks any data point on the chart.
urlcolumn No Query column containing URL information to load when the user clicks the corresponding data point.
valuecolumn No Query column that contains the data values. Required if you do not use cfgraphdata tags in the cfgraph tag body to specify the data values.
valuelabelfont No The font used to display data values.
valuelabelsize No The size the value text, in points.
valuelocation No Where value labels are placed.