CFCHARTSERIES
The child tag of CFCHART
Usage
<cfchartseries>
Attributes
Attribute | default | required | summary |
---|---|---|---|
QUERY | Query to be used as the chart data | ||
ITEMCOLUMN | X Axis value. Required if QUERY is specified. | ||
VALUECOLUMN | Y Axis value. Required if QUERY is specified. | ||
COLORLIST | Colour list used to determine the colour for each item for pie and category charts. This is a comma seperated list of colours. | ||
MARKERSTYLE | rectangle | Marker Style for each data point. Available options are: triangle, triangledown, triangleright, triangleleft, diamond, circle, letterx, mcross, snow, rcross, horizontalrectangle, verticalrectangle, rectangle | |
PAINTSTYLE | plain | Allows different shading of series colours. Available options are: plain, light, shade | |
SERIESCOLOR | The colour of the series. This can be a hexadecimal colour or one of the following predefined colours: aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkgrey, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, grey, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, violetred, wheat, white, whitesmoke, yellow, yellowgreen | ||
SERIESLABEL | Series Number e.g. Series 1 | The label of the series. | |
TYPE | Type of Chart to produce. Options are: area, bar, horizontalbar, line, pie, ring, scatter and step | ||
DATALABELSTYLE | none | Style of the label for the data point. Available options are: none, value, rowlabel, columnlabel, pattern | |
DATALABELANGLE | 0 | Angle of label for data point | |
DATALABELCOLOR | black | Colour of the data item labels. This can be a hexadecimal colour or one of the following predefined colours: aliceblue, antiquewhite, aqua, aquamarine, azure, beige, bisque, black, blanchedalmond, blue, blueviolet, brown, burlywood, cadetblue, chartreuse, chocolate, coral, cornflowerblue, cornsilk, crimson, cyan, darkblue, darkcyan, darkgoldenrod, darkgray, darkgreen, darkgrey, darkkhaki, darkmagenta, darkolivegreen, darkorange, darkorchid, darkred, darksalmon, darkslateblue, darkslategray, darkslategrey, darkturquoise, darkviolet, deeppink, deepskyblue, dimgray, dimgrey, dodgerblue, firebrick, floralwhite, forestgreen, fuchsia, gainsboro, ghostwhite, gold, goldenrod, gray, green, greenyellow, grey, honeydew, hotpink, indianred, indigo, ivory, khaki, lavender, lavenderblush, lawngreen, lemonchiffon, lightblue, lightcoral, lightcyan, lightgoldenrodyellow, lightgray, lightgreen, lightgrey, lightpink, lightsalmon, lightseagreen, lightskyblue, lightslategray, lightslategrey, lightsteelblue, lightyellow, lime, limegreen, linen, magenta, maroon, mediumaquamarine, mediumblue, mediumorchid, mediumpurple, mediumseagreen, mediumslateblue, mediumspringgreen, mediumturquoise, mediumvioletred, midnightblue, mintcream, mistyrose, moccasin, navajowhite, navy, oldlace, olive, olivedrab, orange, orangered, orchid, palegoldenrod, palegreen, paleturquoise, palevioletred, papayawhip, peachpuff, peru, pink, plum, powderblue, purple, red, rosybrown, royalblue, saddlebrown, salmon, sandybrown, seagreen, seashell, sienna, silver, skyblue, slateblue, slategray, slategrey, snow, springgreen, steelblue, tan, teal, thistle, tomato, turquoise, violet, violetred, wheat, white, whitesmoke, yellow, yellowgreen | |
DATALABELFONT | arial | Font of the data label. Options are: arial, times and courier | |
DATALABELFONTBOLD | no | Whether data label font is bold : yes or no | |
DATALABELFONTITALIC | no | Whether data label font is italic : yes or no | |
DATALABELFONTSIZE | 11 | Size of data label font | |
NEGATIVEDATALABELPOSITION | bottom | Position of Data label. Available options are: top, top_inside, left, left_inside, center, right, right_inside, bottom_inside, bottom | |
POSITIVEDATALABELPOSITION | top | Position of Data label. Available options are: top, top_inside, left, left_inside, center, right, right_inside, bottom_inside, bottom |