<cfchartseries>

Used with the cfchart and cfchartseries tags. This tag defines chart data points. Its data is submitted to the cfchartseries tag.

Usage

<cfchartseries
    [valuecolumn=string]
    [itemcolumn=string]
    [query=any]
    [markerstyle=string]
    [colorlist=string]
    [seriescolor=string]
    [serieslabel=string]
    type=string
    [datalabelstyle=string]
    [paintstyle=string]
><!--- body --->[</cfchartseries>]

This tag may have a body.

This tag is also supported within cfscript

Attributes

Attribute Description
valuecolumn
(string, optional)

Name of a column in the query specified in the query attribute; contains data values to graph.

itemcolumn
(string, optional)

Name of a column in the query specified in the query attribute; contains the item label for a data point to graph.

query
(any, optional)

Name of CFML query from which to get data.

markerstyle
(string, optional)

Applies to chartseries type attribute values line, curve and scatter, and show3D attribute value no.

colorlist
(string, 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.
seriescolor
(string, 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.
serieslabel
(string, optional)

Text of data series label

type
(string, required)

Sets the chart display style

datalabelstyle
(string, optional)

Specifies the way in which the color is applied to the item in the series: - None = nothing is printed (default) - Value = the value of the datapoint - Rowlabel = the row's label - Columnlabel = the column's label - Pattern

paintstyle
(string, optional)

Sets the paint display style of the data series.

Examples

There are currently no examples for this tag.