套件 | coldfusion.service.mxml |
類別 | public class Chart |
繼承 | Chart BasicService InternalConfig Object |
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
屬性 | 定義自 | ||
---|---|---|---|
action : String
Action string for the service. | BasicService | ||
backgroundColor : String
Color of the area between the data background and the chart border, around labels and around the legend. | Chart | ||
cfContextRoot : String
Context root of the ColdFusion server. | InternalConfig | ||
cfPort : int
Port where the ColdFusion server is running. | InternalConfig | ||
cfServer : String
Name or IP address of the ColdFusion server. | InternalConfig | ||
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 | ||
constructor : Object
類別物件的參照或是特定物件實體的建構函數。 | Object | ||
dataBackgroundColor : String
Color of area around chart data. | Chart | ||
destination : String
Specifies the destination for the remoting call. | InternalConfig | ||
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 | ||
secureHttp : Boolean
Boolean value that specifies if secure HTTP is used:
yes: uses secure HTTP
no: does not use secure HTTP
| InternalConfig | ||
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 | ||
servicePassword : String
Password to access ColdFusion services. | InternalConfig | ||
serviceUserName : String
Username to access ColdFusion services. | InternalConfig | ||
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 |
方法 | 定義自 | ||
---|---|---|---|
Chart()
Creates an instance of the Chart class. | Chart | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener
receives notification of an event. | BasicService | ||
Dispatches an event into the event flow. | BasicService | ||
Sends the information to the ColdFusion service based on the action and the attributes that
the user sets. | Chart | ||
Returns the RemoteObject instance used by the proxy classes to make the
remote object call. | BasicService | ||
Checks whether the EventDispatcher object has any listeners registered
for a specific type of event. | BasicService | ||
指出物件是否有已定義的指定屬性。 | Object | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
Removes a listener from the EventDispatcher object. | BasicService | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
Checks whether an event listener is registered with this EventDispatcher object or any of its
ancestors for the specified event type. | BasicService |
backgroundColor | 屬性 |
public var backgroundColor:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
chartHeight | 屬性 |
public var chartHeight:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Height of the chart. Integer number of pixels.
預設值為 240。
chartSeries | 屬性 |
public var chartSeries:Array
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Defines the chart style in which the data displays: bar, line, pie, and so on.
chartWidth | 屬性 |
public var chartWidth:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Width of the chart. Integer number of pixels.
預設值為 320。
dataBackgroundColor | 屬性 |
public var dataBackgroundColor:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Color of area around chart data. Hexadecimal value or supported named color.
預設值為 white
。
font | 屬性 |
public var font:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Name of text font:
arial
times
courier
arialunicodeMS
預設值為 arial
。
fontBold | 屬性 |
public var fontBold:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to make the text bold:
yes
no
預設值為 no。
fontItalic | 屬性 |
public var fontItalic:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to make the text italicized:
yes
no
預設值為 no。
fontSize | 屬性 |
public var fontSize:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Font size. If the number is not an integer, ColdFusion rounds the number up to the next integer.
預設值為 11。
foregroundColor | 屬性 |
public var foregroundColor:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Color of text, grid lines, and labels. Hexadecimal value or supported named color.
預設值為 black
。
format | 屬性 |
public var format:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
File format in which to save the graph:
flash
jpg
png
預設值為 flash
。
gridLines | 屬性 |
public var gridLines:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Number of grid lines to display on the value axis, including axis; positive integer.
預設值為 10, including top and bottom。
labelFormat | 屬性 |
public var labelFormat:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Format for y-axis labels:
number
currency
percent
date
預設值為 number
。
markerSize | 屬性 |
public var markerSize:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Size of data point marker in pixels; integer.
預設值為 (Automatic)。
piesliceStyle | 屬性 |
public var piesliceStyle:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Applies to the cfchartseriestype
attribute value pie
:
solid
: displays pie as if unsliced.sliced
: displays pie as if sliced.
預設值為 sliced
。
scaleFrom | 屬性 |
public var scaleFrom:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Y-axis minimum value; integer.
預設值為 Determined by data。
scaleTo | 屬性 |
public var scaleTo:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Y-axis maximum value; integer.
預設值為 Determined by data。
seriesPlacement | 屬性 |
public var seriesPlacement:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Relative positions of series in charts that have more than one data series:
default
: ColdFusion determines relative positions, based on graph typescluster
stacked
percent
預設值為 default
。
show3d | 屬性 |
public var show3d:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display the chart with three-dimensional appearance:
yes
no
預設值為 yes
。
showBorder | 屬性 |
public var showBorder:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display a border around the chart:
yes
no
預設值為 no
。
showLegend | 屬性 |
public var showLegend:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display the legend if the chart contains more than one data series:
yes
no
預設值為 yes
。
showMarkers | 屬性 |
public var showMarkers:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display markers at data points in line, curve, and scatter graphs:
yes
no
預設值為 yes
。
showxGridLines | 屬性 |
public var showxGridLines:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display x-axis gridlines:
yes
no
預設值為 no
。
showyGridLines | 屬性 |
public var showyGridLines:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display y-axis gridlines:
yes
no
預設值為 yes
。
sortXAxis | 屬性 |
public var sortXAxis:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether to display column labels in alphabetic order along the x axis:
yes
no
xAxisType
attribute is scale
.
預設值為 no
。
tipBgColor | 屬性 |
public var tipBgColor:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Background color of tips. Applies only to Flash format graph files. Hexadecimal value or supported named color.
預設值為 white
。
tipStyle | 屬性 |
public var tipStyle:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Determines the action that opens a pop-up window to display information about the current chart element.
mouseDown
: Displays if the user positions the cursor at the element and clicks the mouse. Applies only to Flash format graph files. (For other formats, this option functions the same as mouseOver.)mouseOver
: Displays if the user positions the cursor at the element.none
: Suppresses display
預設值為 mouseOver
。
title | 屬性 |
public var title:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Title of the chart.
url | 屬性 |
public var url:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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:
$VALUE$
: The value of the selected row. If none, the value is an empty string.$ITEMLABEL$
: The label of the selected item. If none, the value is an empty string.$SERIESLABEL$
: The label of the selected series. If none, the value is an empty string.- "javascript:...": Executes a client-side script.
xAxisTitle | 屬性 |
public var xAxisTitle:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Title that appears on the x axis; text.
xAxisType | 屬性 |
public var xAxisType:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Whether the x axis indicates data or is numeric:
category
: The axis indicates the data category. Data is sorted according to thesortXAxis
attribute.scale
: The axis is numeric. Allcfchartdataitem
attribute values must be numeric. The x axis is automatically sorted numerically.
預設值為 category
。
xOffset | 屬性 |
public var xOffset:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 0.1。
yAxisTitle | 屬性 |
public var yAxisTitle:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Title of the y axis; text.
yAxisType | 屬性 |
public var yAxisType:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Currently has no effect, as the y axis is always used for data values.
預設值為 category
。
yOffset | 屬性 |
public var yOffset:String
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | 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.
預設值為 0.1。
Chart | () | 建構函式 |
public function Chart()
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Creates an instance of the Chart class.
execute | () | 方法 |
public function execute():void
語言版本: | ActionScript 3.0 |
產品版本: | ColdFusion 9 |
執行階段版本: | Flash Player 9, AIR 1.0 |
Sends the information to the ColdFusion service based on the action and the attributes that the user sets.
Tue Jun 12 2018, 03:47 PM Z