Packagecom.amcharts.chartClasses
Classpublic class AmCoordinateChart
InheritanceAmCoordinateChart Inheritance AmChart Inheritance mx.core.UIComponent
SubclassesAmRadarChart, AmRectangularChart

AmCoordinateChart is a base class of AmRectangularChart and AmRadarChart. It can not be instantiated explicitly.



Public Properties
 PropertyDefined by
 Inheritedballoon : AmBalloon
An instance of com.amcharts.AmBalloon.
AmChart
  chartType : String
[read-only] returns chart type (serial, xy, or radar).
AmCoordinateChart
 InheritedclipContent : Boolean
Specifies if the chart contents which goes outside the chart area should be clipped or not.
AmChart
 InheriteddataProvider : Object
Specifies the data provider for the chart.
AmChart
  graphs : Array
The array of graphs belonging to this chart.
AmCoordinateChart
 Inheritedlegend : AmLegend
Chart legend.
AmChart
 InheritednumberFormatter : NumberFormatter
An instance of mx.formatters.NumberFormatter.
AmChart
 InheritedpercentFormatter : NumberFormatter
An instance of mx.formatters.NumberFormatter.
AmChart
 InheritedprefixesOfBigNumbers : Array
Array of objects with prefixes for big numbers.
AmChart
 InheritedprefixesOfSmallNumbers : Array
Array of objects with prefixes for small numbers.
AmChart
  urlTarget : String
The target of the url.
AmCoordinateChart
 InheritedusePrefixes : Boolean
If true, prefixes will be used for big and small numbers.
AmChart
  valueAxes : Array
The array of value axes.
AmCoordinateChart
Public Methods
 MethodDefined by
  
Constructor.
AmCoordinateChart
  
Adds a graph (series) to the chart.
AmCoordinateChart
  
Adds value axis to the chart.
AmCoordinateChart
  
animateAgain():void
The animation is played only once or if you change the animation styles.
AmCoordinateChart
  
getGraphById(id:String):AmGraph
Returns graph by id.
AmCoordinateChart
  
Returns value Axis by id.
AmCoordinateChart
  
hideGraph(graph:AmGraph):void
Hide the graph (if it is visible).
AmCoordinateChart
  
Hide value balloon of a graph.
AmCoordinateChart
  
highlightGraph(graph:AmGraph):void
Highlight the graph.
AmCoordinateChart
 Inherited
In case data inside your dataProvider was changed, you can call this method to rebuild the chart.
AmChart
  
removeGraph(graph:AmGraph):void
Removes graph from the chart.
AmCoordinateChart
  
removeValueAxis(valueAxis:ValueAxis):void
Removes value axis from the chart.
AmCoordinateChart
  
showGraph(graph:AmGraph):void
Show the graph (if it is hidden).
AmCoordinateChart
  
Show value balloon of a graph.
AmCoordinateChart
  
UnhighlightGraph the graph.
AmCoordinateChart
Events
 EventSummaryDefined by
   Dispatched when the user clicks on a data item (column/bullet).AmCoordinateChart
 Inherited Dispatched when the chart was updated with new data, when dataProvider or data inside dataProvider was changed.AmChart
   Dispatched when the user double clicks on a data item (column/bullet).AmCoordinateChart
   Dispatched when the user rolls out of the data item (column/bullet).AmCoordinateChart
   Dispatched when the user rolls over data item (column/bullet).AmCoordinateChart
Styles
 StyleDescriptionDefined by
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component, including the component label.
AmChart
  
colors
Type: Array   Format: Color   CSS Inheritance: no
Specifies the colors of the graphs if the color is not set. It there are more graphs then colors in this array, the chart picks random color. The default value is [0xFF6600,0xFCD202,0xB0DE09,0x0D8ECF,0x2A0CD0,0xCD0D74,0xCC0000,0x00CC00,0x0000CC,0xDDDDDD,0x999999,0x333333,0x990000].
AmCoordinateChart
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of text in the component if it is disabled.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Sets the antiAliasType property of internal TextFields.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Name of the font to use.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Sets the gridFitType property of internal TextFields that represent text in Flex controls.
AmChart
 Inherited Type: Number   CSS Inheritance: yes
Sets the sharpness property of internal TextFields that represent text in Flex controls.
AmChart
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Height of the text, in pixels.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is italic font.
AmChart
 Inherited Type: Number   CSS Inheritance: yes
Sets the thickness property of internal TextFields that represent text in Flex controls.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is boldface.
AmChart
 Inherited Type: Boolean   CSS Inheritance: yes
A Boolean value that indicates whether kerning is enabled (true) or disabled (false).
AmChart
 Inherited Type: Number   CSS Inheritance: yes
The number of additional pixels to appear between each character.
AmChart
  
plotAreaBorderAlpha
Type: Number   CSS Inheritance: no
The opacity of plot area's border. The default value is 0.
AmCoordinateChart
  
plotAreaBorderColor
Type: uint   Format: Color   CSS Inheritance: no
The color of the plot area's border. Note, the background is invisible by default, as plotAreaBorderAlpha default value is 0. Set it to a value higher than 0 to make it visible. The default value is 0x000000.
AmCoordinateChart
  
plotAreaFillAlphas
Type: Array   CSS Inheritance: no
Specifies the alphas used to tint the background gradient fill of the plot area. You should set this to an Array which should contain the same number of values (0 - 1) as you have in plotAreaFillColors style. The default value is [1].
AmCoordinateChart
  
plotAreaFillColors
Type: Array   Format: Color   CSS Inheritance: no
Specifies the colors used to tint the background gradient fill of the plot area. You should set this to an Array of two or more uint values that specify RGB colors. The default value is [0xFFFFFF].
AmCoordinateChart
  
sequencedAnimation
Type: Boolean   CSS Inheritance: no
Specifies whether the animation should be sequenced or all objects should appear at once. The default value is true.
AmCoordinateChart
  
startAlpha
Type: Number   CSS Inheritance: no
The initial opacity of the column/line. If you set startDuration to a value higher than 0, the columns/lines will fade in from startAlpha. The default value is 0.
AmCoordinateChart
  
startDuration
Type: Number   CSS Inheritance: no
Duration of the animation, in seconds. The default value is 0.
AmCoordinateChart
  
startEffect
Type: Function   CSS Inheritance: no
Animation effect. The default value is Exponential.easeOut.
AmCoordinateChart
  
startFrom
Type: String   CSS Inheritance: no
Direction from which line graphs should fly-in. Possible values: top, bottom, left, right. The default value is top.
AmCoordinateChart
 Inherited Type: String   CSS Inheritance: yes
Alignment of text within a container.
AmChart
 Inherited Type: String   CSS Inheritance: yes
Determines whether the text is underlined.
AmChart
 Inherited Type: Number   Format: Length   CSS Inheritance: yes
Offset of first line of text from the left side of the container, in pixels.
AmChart
Property detail
chartTypeproperty
chartType:String  [read-only]

returns chart type (serial, xy, or radar).

Implementation
    public function get chartType():String
graphsproperty 
graphs:Array  [read-write]

The array of graphs belonging to this chart.

Implementation
    public function get graphs():Array
    public function set graphs(value:Array):void
urlTargetproperty 
urlTarget:String  [read-write]

The target of the url. Use _balnk for a new window.

The default value is _self.

Implementation
    public function get urlTarget():String
    public function set urlTarget(value:String):void
valueAxesproperty 
valueAxes:Array  [read-write]

The array of value axes.

Implementation
    public function get valueAxes():Array
    public function set valueAxes(value:Array):void
Constructor detail
AmCoordinateChart()constructor
public function AmCoordinateChart()

Constructor.

Method detail
addGraph()method
public function addGraph(graph:AmGraph):AmGraph

Adds a graph (series) to the chart.

Parameters
graph:AmGraph

Returns
AmGraph
addValueAxis()method 
public function addValueAxis(valueAxis:ValueAxis):ValueAxis

Adds value axis to the chart.

Parameters
valueAxis:ValueAxis

Returns
ValueAxis
animateAgain()method 
public function animateAgain():void

The animation is played only once or if you change the animation styles. You can trigger animation again by calling this method.

getGraphById()method 
public function getGraphById(id:String):AmGraph

Returns graph by id.

Parameters
id:String

Returns
AmGraph
getValueAxisById()method 
public function getValueAxisById(id:String):ValueAxis

Returns value Axis by id.

Parameters
id:String

Returns
ValueAxis
hideGraph()method 
public function hideGraph(graph:AmGraph):void

Hide the graph (if it is visible). Usually this method is called from the Legend, when you click on the legend marker.

Parameters
graph:AmGraph

See also

hideGraphsBalloon()method 
public function hideGraphsBalloon(graph:AmGraph):void

Hide value balloon of a graph. Usually this method is called from the Legend, when you click on the legend text.

Parameters
graph:AmGraph

See also

highlightGraph()method 
public function highlightGraph(graph:AmGraph):void

Highlight the graph. Usually this method is called from the Legend, when you roll-over the legend entry.

Parameters
graph:AmGraph

See also

removeGraph()method 
public function removeGraph(graph:AmGraph):void

Removes graph from the chart.

Parameters
graph:AmGraph — is the graph which should be removed from the chart.

See also

removeValueAxis()method 
public function removeValueAxis(valueAxis:ValueAxis):void

Removes value axis from the chart.

Parameters
valueAxis:ValueAxis — the valueAxis which should be removed from the chart. When you remove value axis, all graphs assigned to this axis are also removed.
showGraph()method 
public function showGraph(graph:AmGraph):void

Show the graph (if it is hidden). Usually this method is called from the Legend, when you click on the legend marker.

Parameters
graph:AmGraph

See also

showGraphsBalloon()method 
public function showGraphsBalloon(graph:AmGraph):void

Show value balloon of a graph. Usually this method is called from the Legend, when you click on the legend text.

Parameters
graph:AmGraph

See also

unhighlightGraph()method 
public function unhighlightGraph():void

UnhighlightGraph the graph. Usually this method is called from the Legend, when you roll-out the legend entry.

See also

Event detail
clickGraphItemevent 
Event object type: com.amcharts.events.GraphEvent

Dispatched when the user clicks on a data item (column/bullet).

doubleClickGraphItemevent  
Event object type: com.amcharts.events.GraphEvent

Dispatched when the user double clicks on a data item (column/bullet).

rollOutGraphItemevent  
Event object type: com.amcharts.events.GraphEvent

Dispatched when the user rolls out of the data item (column/bullet).

rollOverGraphItemevent  
Event object type: com.amcharts.events.GraphEvent

Dispatched when the user rolls over data item (column/bullet).