Guide de référence ActionScript® 3.0 pour la plate-forme Adobe® Flash®
Accueil  |  Masquer la liste des packages et des classes |  Packages  |  Classes  |  Nouveautés  |  Index  |  Annexes  |  Pourquoi existe-t-il du contenu en anglais ?
Filtres : Récupération des données du serveur...
Récupération des données du serveur...
coldfusion.service.mxml 

Chart  - AS3 CF

Packagecoldfusion.service.mxml
Classepublic class Chart
HéritageChart Inheritance BasicService Inheritance InternalConfig Inheritance Object

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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.



Propriétés publiques
 PropriétéDéfini par
 Inheritedaction : 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
 InheritedcfContextRoot : String
Context root of the ColdFusion server.
InternalConfig
 InheritedcfPort : int
Port where the ColdFusion server is running.
InternalConfig
 InheritedcfServer : 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
 Inheritedconstructor : Object
Référence à l’objet de classe ou à la fonction constructeur d’une occurrence donnée d’un objet.
Object
  dataBackgroundColor : String
Color of area around chart data.
Chart
 Inheriteddestination : 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
 InheritedsecureHttp : 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
 InheritedservicePassword : String
Password to access ColdFusion services.
InternalConfig
 InheritedserviceUserName : 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
Méthodes publiques
 MéthodeDéfini par
  
Creates an instance of the Chart class.
Chart
 Inherited
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
 Inherited
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
 Inherited
Returns the RemoteObject instance used by the proxy classes to make the remote object call.
BasicService
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
BasicService
 Inherited
Indique si la propriété spécifiée d’un objet est définie.
Object
 Inherited
Indique si une occurrence de la classe Object figure dans la chaîne de prototype de l’objet spécifié en tant que paramètre.
Object
 Inherited
Indique si la propriété spécifiée existe et est énumérable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
BasicService
 Inherited
Définit la disponibilité d’une propriété dynamique pour les opérations en boucle.
Object
 Inherited
Renvoie la représentation de chaîne de cet objet, formatée selon les paramètres régionaux en vigueur.
Object
 Inherited
Renvoie la représentation sous forme de chaîne de l’objet spécifié.
Object
 Inherited
Renvoie la valeur primitive de l’objet spécifié.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
BasicService
Evénements
 Evénement Synthèse Défini par
 InheritedDispatched when a ColdFusion service call fails.BasicService
 InheritedDispatched when a ColdFusion service call returns successfully.BasicService
Détails de la propriété

backgroundColor

propriété
public var backgroundColor:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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

propriété 
public var chartHeight:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Height of the chart. Integer number of pixels.

La valeur par défaut est 240.

chartSeries

propriété 
public var chartSeries:Array

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

chartWidth

propriété 
public var chartWidth:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Width of the chart. Integer number of pixels.

La valeur par défaut est 320.

dataBackgroundColor

propriété 
public var dataBackgroundColor:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est white.

font

propriété 
public var font:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Name of text font:

  • arial
  • times
  • courier
  • arialunicodeMS

La valeur par défaut est arial.

fontBold

propriété 
public var fontBold:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to make the text bold:

  • yes
  • no

La valeur par défaut est no.

fontItalic

propriété 
public var fontItalic:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to make the text italicized:

  • yes
  • no

La valeur par défaut est no.

fontSize

propriété 
public var fontSize:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est 11.

foregroundColor

propriété 
public var foregroundColor:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est black.

format

propriété 
public var format:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

File format in which to save the graph:

  • flash
  • jpg
  • png

La valeur par défaut est flash.

gridLines

propriété 
public var gridLines:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est 10, including top and bottom.

labelFormat

propriété 
public var labelFormat:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Format for y-axis labels:

  • number
  • currency
  • percent
  • date

La valeur par défaut est number.

markerSize

propriété 
public var markerSize:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Size of data point marker in pixels; integer.

La valeur par défaut est (Automatic).

piesliceStyle

propriété 
public var piesliceStyle:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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.

La valeur par défaut est sliced.

scaleFrom

propriété 
public var scaleFrom:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Y-axis minimum value; integer.

La valeur par défaut est Determined by data.

scaleTo

propriété 
public var scaleTo:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Y-axis maximum value; integer.

La valeur par défaut est Determined by data.

seriesPlacement

propriété 
public var seriesPlacement:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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 types
  • cluster
  • stacked
  • percent

La valeur par défaut est default.

show3d

propriété 
public var show3d:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to display the chart with three-dimensional appearance:

  • yes
  • no

La valeur par défaut est yes.

showBorder

propriété 
public var showBorder:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to display a border around the chart:

  • yes
  • no

La valeur par défaut est no.

showLegend

propriété 
public var showLegend:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

  • yes
  • no

La valeur par défaut est yes.

showMarkers

propriété 
public var showMarkers:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

  • yes
  • no

La valeur par défaut est yes.

showxGridLines

propriété 
public var showxGridLines:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to display x-axis gridlines:

  • yes
  • no

La valeur par défaut est no.

showyGridLines

propriété 
public var showyGridLines:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Whether to display y-axis gridlines:

  • yes
  • no

La valeur par défaut est yes.

sortXAxis

propriété 
public var sortXAxis:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

  • yes
  • no
Ignored if the xAxisType attribute is scale.

La valeur par défaut est no.

tipBgColor

propriété 
public var tipBgColor:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est white.

tipStyle

propriété 
public var tipStyle:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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

La valeur par défaut est mouseOver.

title

propriété 
public var title:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Title of the chart.

url

propriété 
public var url:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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

propriété 
public var xAxisTitle:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Title that appears on the x axis; text.

xAxisType

propriété 
public var xAxisType:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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 the sortXAxis attribute.
  • scale: The axis is numeric. All cfchartdataitem attribute values must be numeric. The x axis is automatically sorted numerically.

La valeur par défaut est category.

xOffset

propriété 
public var xOffset:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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.

La valeur par défaut est 0.1.

yAxisTitle

propriété 
public var yAxisTitle:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Title of the y axis; text.

yAxisType

propriété 
public var yAxisType:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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

La valeur par défaut est category.

yOffset

propriété 
public var yOffset:String

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: 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.

La valeur par défaut est 0.1.

Détails du constructeur

Chart

()Constructeur
public function Chart()

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

Creates an instance of the Chart class.

Détails de la méthode

execute

()méthode
public function execute():void

Version du langage: ActionScript 3.0
Version du produit: ColdFusion 9
Versions du moteur d’exécution: Flash Player 9, AIR 1.0

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





[ X ]Pourquoi existe-t-il du contenu en anglais ?
Certaines parties du Guide de référence ActionScript 3.0 sont en anglais

Tout le contenu du Guide de référence ActionScript 3.0 n’a pas été traduit dans toutes les langues. Si un élément de langage n’est pas traduit, il s’affiche en anglais. Par exemple, la classe ga.controls.HelpBox n’est traduite dans aucune langue. Ainsi, dans la version française du guide de référence, la classe ga.controls.HelpBox apparaît en anglais.