Packagecoldfusion.service.mxml
Classpublic class Chart
InheritanceChart Inheritance BasicService

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

The proxy class for chart services that are exposed by ColdFusion. This class extends from the BasicService class that has common functionality built across services.



Public Properties
 PropertyDefined By
  backgroundColor : String
Color of the area between the data background and the chart border, around labels and around the legend.
Chart
  chartHeight : String
Height of the chart.
Chart
  chartSeries : Array
Defines the chart style in which the data displays: bar, line, pie, and so on.
Chart
  chartWidth : String
Width of the chart.
Chart
  dataBackgroundColor : String
Color of area around chart data.
Chart
  font : String
Name of text font: arial times courier arialunicodeMS
Chart
  fontBold : String
Whether to make the text bold: yes no
Chart
  fontItalic : String
Whether to make the text italicized: yes no
Chart
  fontSize : String
Font size.
Chart
  foregroundColor : String
Color of text, grid lines, and labels.
Chart
  format : String
File format in which to save the graph: flash jpg png
Chart
  gridLines : String
Number of grid lines to display on the value axis, including axis; positive integer.
Chart
  labelFormat : String
Format for y-axis labels: number currency percent date
Chart
  markerSize : String
Size of data point marker in pixels; integer.
Chart
  piesliceStyle : String
Applies to the cfchartseriestype attribute value pie: solid: displays pie as if unsliced. sliced: displays pie as if sliced.
Chart
  scaleFrom : String
Y-axis minimum value; integer.
Chart
  scaleTo : String
Y-axis maximum value; integer.
Chart
  seriesPlacement : String
Relative positions of series in charts that have more than one data series: default: ColdFusion determines relative positions, based on graph types cluster stacked percent
Chart
  show3d : String
Whether to display the chart with three-dimensional appearance: yes no
Chart
  showBorder : String
Whether to display a border around the chart: yes no
Chart
  showLegend : String
Whether to display the legend if the chart contains more than one data series: yes no
Chart
  showMarkers : String
Whether to display markers at data points in line, curve, and scatter graphs: yes no
Chart
  showxGridLines : String
Whether to display x-axis gridlines: yes no
Chart
  showyGridLines : String
Whether to display y-axis gridlines: yes no
Chart
  sortXAxis : String
Whether to display column labels in alphabetic order along the x axis: yes no Ignored if the xAxisType attribute is scale.
Chart
  tipBgColor : String
Background color of tips.
Chart
  tipStyle : String
Determines the action that opens a pop-up window to display information about the current chart element.
Chart
  title : String
Title of the chart.
Chart
  url : String
URL to open if the user clicks item in a data series; the onClick destination page.
Chart
  xAxisTitle : String
Title that appears on the x axis; text.
Chart
  xAxisType : String
Whether the x axis indicates data or is numeric: category: The axis indicates the data category.
Chart
  xOffset : String
Number of units by which to display the chart as angled, horizontally.
Chart
  yAxisTitle : String
Title of the y axis; text.
Chart
  yAxisType : String
Currently has no effect, as the y axis is always used for data values.
Chart
  yOffset : String
Number of units by which to display the chart as angled, vertically.
Chart
Public Methods
 MethodDefined By
  
Creates an instance of the Chart class.
Chart
  
Sends the information to the ColdFusion service based on the action and the attributes that the user sets.
Chart
Property Detail
backgroundColorproperty
public var backgroundColor:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Color of the area between the data background and the chart border, around labels and around the legend. Hexadecimal value or supported named color.

chartHeightproperty 
public var chartHeight:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Height of the chart. Integer number of pixels.

The default value is 240.

chartSeriesproperty 
public var chartSeries:Array

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Defines the chart style in which the data displays: bar, line, pie, and so on.

chartWidthproperty 
public var chartWidth:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Width of the chart. Integer number of pixels.

The default value is 320.

dataBackgroundColorproperty 
public var dataBackgroundColor:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Color of area around chart data. Hexadecimal value or supported named color.

The default value is white.

fontproperty 
public var font:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Name of text font:

The default value is arial.

fontBoldproperty 
public var fontBold:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to make the text bold:

The default value is no.

fontItalicproperty 
public var fontItalic:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to make the text italicized:

The default value is no.

fontSizeproperty 
public var fontSize:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Font size. If the number is not an integer, ColdFusion rounds the number up to the next integer.

The default value is 11.

foregroundColorproperty 
public var foregroundColor:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Color of text, grid lines, and labels. Hexadecimal value or supported named color.

The default value is black.

formatproperty 
public var format:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

File format in which to save the graph:

The default value is flash.

gridLinesproperty 
public var gridLines:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Number of grid lines to display on the value axis, including axis; positive integer.

The default value is 10, including top and bottom.

labelFormatproperty 
public var labelFormat:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Format for y-axis labels:

The default value is number.

markerSizeproperty 
public var markerSize:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Size of data point marker in pixels; integer.

The default value is (Automatic).

piesliceStyleproperty 
public var piesliceStyle:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Applies to the cfchartseriestype attribute value pie:

The default value is sliced.

scaleFromproperty 
public var scaleFrom:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Y-axis minimum value; integer.

The default value is Determined by data.

scaleToproperty 
public var scaleTo:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Y-axis maximum value; integer.

The default value is Determined by data.

seriesPlacementproperty 
public var seriesPlacement:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Relative positions of series in charts that have more than one data series:

The default value is default.

show3dproperty 
public var show3d:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display the chart with three-dimensional appearance:

The default value is yes.

showBorderproperty 
public var showBorder:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display a border around the chart:

The default value is no.

showLegendproperty 
public var showLegend:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display the legend if the chart contains more than one data series:

The default value is yes.

showMarkersproperty 
public var showMarkers:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display markers at data points in line, curve, and scatter graphs:

The default value is yes.

showxGridLinesproperty 
public var showxGridLines:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display x-axis gridlines:

The default value is no.

showyGridLinesproperty 
public var showyGridLines:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display y-axis gridlines:

The default value is yes.

sortXAxisproperty 
public var sortXAxis:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether to display column labels in alphabetic order along the x axis:

Ignored if the xAxisType attribute is scale.

The default value is no.

tipBgColorproperty 
public var tipBgColor:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Background color of tips. Applies only to Flash format graph files. Hexadecimal value or supported named color.

The default value is white.

tipStyleproperty 
public var tipStyle:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Determines the action that opens a pop-up window to display information about the current chart element.

The default value is mouseOver.

titleproperty 
public var title:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Title of the chart.

urlproperty 
public var url:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

URL to open if the user clicks item in a data series; the onClick destination page. You can specify variables within the URL string; ColdFusion passes current values of the variables:

xAxisTitleproperty 
public var xAxisTitle:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Title that appears on the x axis; text.

xAxisTypeproperty 
public var xAxisType:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Whether the x axis indicates data or is numeric:

The default value is category.

xOffsetproperty 
public var xOffset:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Number of units by which to display the chart as angled, horizontally. Applies if show3D="yes". The number can be between -1 and 1, where "-1" specifies 90 degrees left and "1" specifies 90 degrees right.

The default value is 0.1.

yAxisTitleproperty 
public var yAxisTitle:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Title of the y axis; text.

yAxisTypeproperty 
public var yAxisType:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Currently has no effect, as the y axis is always used for data values.

The default value is category.

yOffsetproperty 
public var yOffset:String

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Number of units by which to display the chart as angled, vertically. Applies if show3D="yes". The number can be between -1 and 1, where "-1" specifies 90 degrees left and "1" specifies 90 degrees right.

The default value is 0.1.

Constructor Detail
Chart()Constructor
public function Chart()

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Creates an instance of the Chart class.

Method Detail
execute()method
public function execute():void

Language Version: ActionScript 3.0
Product Version: CF 9
Runtime Versions: Flash Player 9, AIR 1.0

Sends the information to the ColdFusion service based on the action and the attributes that the user sets.