Name

cfchartseries

Synopsis

<cfchart>
  <cfchartseries>
    [<cfchartdata>]
    ...
  </cfchartseries>
  ...
</cfchart>

Used as a child tag of cfchart to specify the type of chart to draw and to define a series of data points to graph. Multiple cfchartdata tags may be used within a cfchart container to chart multiple series of data and/or to overlay multiple chart types.

Attributes

type=" chart_type "

Type of chart to render. Options are Area, Bar, Cone, Curve, Cylinder, Line, Pie, Pyramid, Step, and Scatter. Required.

colorlist=" color "

A comma-delimited list of colors to use for the data points in Pie charts. Color names follow the same rules as those for the seriescolor attribute. If there are more data points than colors specified in colorlist, the list is simply reused once all the options have been exhausted. Optional. If no colorlist is specified, ColdFusion uses a default list of colors.

itemcolumn=" query_column "

Name of the query column containing the label text for individual data points in the chart. Required if a value is provided for query.

markerstyle=" style "

Style for data point markers in 2D charts. Options are Circle, Diamond, Letterx, Mcross, Rcross, Rectangle, Snow, and Triangle. Optional. The default is Rectangle.

paintstyle="plain|raise|shade|light"

Paint style to use for the series. Options are Plain (solid color fill), Raise (beveled appearance), Shade (gradient filling darker toward the edges), and Light (gradient filled lighter shade of color). Optional. The default ...

Get Programming ColdFusion MX, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.