Used with the cfchart tag. This tag defines the style in which chart data displays: bar, line, pie, and so on.
Data output tags, Extensibility tags
<cfchartseries type="type" query="queryName" itemColumn="queryColumn" valueColumn="queryColumn" seriesLabel="Label Text" seriesColor="Hex value or Web color" paintStyle="plain, raise, shade, light" markerStyle="style" colorlist = "list"> </cfchartseries>
New in ColdFusion MX: This tag is new.
| Attribute | Req/Opt | Default | Description |
|---|---|---|---|
| type |
Required |
|
Sets the chart display style:
|
| query |
Optional |
|
Name of ColdFusion query from which to get data. |
| itemColumn |
Required if query attribute is specified |
|
Name of a column in the query specified in the query attribute; contains the item label for a data point to graph. |
| valueColumn |
Required if query attribute is specified |
|
Name of a column in the query specified in the query attribute; contains data values to graph. |
| seriesLabel |
Optional |
|
Text of data series label |
| seriesColor |
Optional |
|
Color of the main element (such as the bars) of a chart. For a pie chart, the color of the first slice. Hex value or supported named color; see name list in the cfchart Usage section. For a hex value, use the form "##xxxxxx", where x = 0-9 or A-F; use two pound signs or none. |
| paintStyle |
Optional |
plain |
Sets the paint display style of the data series.
|
| markerStyle |
Optional |
rectangle |
Applies to chartseries type attribute values line, curve and scatter, and show3D attribute value no.Sets the icon that marks a data point:
|
| colorlist |
Optional |
|
Applies if chartseries type attribute = "pie". Sets pie slice colors.Comma-delimited list of hex values or supported, named web colors; see name list in the cfchart Usage section. For a hex value, use the form "##xxxxxx", where x = 0-9 or A-F; use two pound signs or none. |
For a pie chart, ColdFusion sets pie slice colors as follows:
seriesColor attribute is omitted, ColdFusion automatically colors the slices
seriesColor attribute is specified, ColdFusion automatically colors the slices after the first one, starting with the specified color for the first slicecolorList attribute is specified, ColdFusion colors the slices after the first one, according to the listColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6
Comments are no longer accepted for ColdFusion MX. ColdFusion 8 is the current version.
RSS feed | Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6/CFML_Reference/Tags-pt114.htm
Comments
crafty said on Feb 5, 2003 at 9:42 AM : rnielsen said on Oct 4, 2002 at 12:52 PM : Nonnie said on Jun 26, 2003 at 4:00 PM : d3ut3r0n said on Jun 26, 2003 at 6:53 AM : d3ut3r0n said on Jun 26, 2003 at 6:53 AM : jgillett said on Jul 17, 2003 at 4:31 PM : manzz said on Mar 23, 2004 at 11:54 PM : TimElleston said on Apr 27, 2004 at 9:00 AM : No screen name said on Jun 4, 2004 at 11:02 AM :