| Package | com.amcharts.chartClasses |
| Class | public class AmChart |
| Inheritance | AmChart mx.core.UIComponent |
| Subclasses | AmCoordinateChart, AmPieChart |
| Property | Defined by | ||
|---|---|---|---|
| balloon : AmBalloon
An instance of com.amcharts.AmBalloon.
| AmChart | ||
| clipContent : Boolean
Specifies if the chart contents which goes outside the chart area should be clipped or not.
| AmChart | ||
| dataProvider : Object
Specifies the data provider for the chart.
| AmChart | ||
| legend : AmLegend
Chart legend.
| AmChart | ||
| numberFormatter : NumberFormatter
An instance of mx.formatters.NumberFormatter.
| AmChart | ||
| percentFormatter : NumberFormatter
An instance of mx.formatters.NumberFormatter.
| AmChart | ||
| prefixesOfBigNumbers : Array
Array of objects with prefixes for big numbers.
| AmChart | ||
| prefixesOfSmallNumbers : Array
Array of objects with prefixes for small numbers.
| AmChart | ||
| usePrefixes : Boolean
If true, prefixes will be used for big and small numbers.
| AmChart | ||
| Method | Defined by | ||
|---|---|---|---|
|
AmChart()
Constructor.
| AmChart | ||
|
invalidateData():void
In case data inside your dataProvider was changed, you can call this
method to rebuild the chart.
| AmChart | ||
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when the chart was updated with new data, when dataProvider or data inside dataProvider was changed. | AmChart | |||
| balloon | property |
balloon:AmBalloon [read-write]An instance of com.amcharts.AmBalloon.
The default value is com.amcharts.AmBalloon.
public function get balloon():AmBalloon
public function set balloon(value:AmBalloon):void
| clipContent | property |
clipContent:Boolean [read-write]Specifies if the chart contents which goes outside the chart area should be clipped or not.
The default value is true.
public function get clipContent():Boolean
public function set clipContent(value:Boolean):void
| dataProvider | property |
dataProvider:Object [read-write]Specifies the data provider for the chart.
This property can accept an Array, ArrayCollection or IList.
Implementation public function get dataProvider():Object
public function set dataProvider(value:Object):void
| legend | property |
legend:AmLegend [read-write]Chart legend.
Implementation public function get legend():AmLegend
public function set legend(value:AmLegend):void
| numberFormatter | property |
numberFormatter:NumberFormatter [read-write]An instance of mx.formatters.NumberFormatter. The control uses this class to format the numbers.
The default value is mx.formatters.NumberFormatter.
public function get numberFormatter():NumberFormatter
public function set numberFormatter(value:NumberFormatter):void
| percentFormatter | property |
percentFormatter:NumberFormatter [read-write]An instance of mx.formatters.NumberFormatter. The control uses this class to format the percent numbers.
The default value is mx.formatters.NumberFormatter with precision = 1.
public function get percentFormatter():NumberFormatter
public function set percentFormatter(value:NumberFormatter):void
| prefixesOfBigNumbers | property |
prefixesOfBigNumbers:Array [read-write]Array of objects with prefixes for big numbers.
The default value is [{number:1e+3,prefix:"k"},{number:1e+6,prefix:"M"},{number:1e+9,prefix:"G"},{number:1e+12,prefix:"T"},{number:1e+15,prefix:"P"},{number:1e+18,prefix:"E"},{number:1e+21,prefix:"Z"},{number:1e+24,prefix:"Y"}].
public function get prefixesOfBigNumbers():Array
public function set prefixesOfBigNumbers(value:Array):void
| prefixesOfSmallNumbers | property |
prefixesOfSmallNumbers:Array [read-write]Array of objects with prefixes for small numbers.
The default value is [{number:1e-24, prefix:"y"},{number:1e-21, prefix:"z"},{number:1e-18, prefix:"a"},{number:1e-15, prefix:"f"},{number:1e-12, prefix:"p"},{number:1e-9, prefix:"n"},{number:1e-6, prefix:"μ"},{number:1e-3, prefix:"m"}].
public function get prefixesOfSmallNumbers():Array
public function set prefixesOfSmallNumbers(value:Array):void
| usePrefixes | property |
usePrefixes:Boolean [read-write]If true, prefixes will be used for big and small numbers. You can set arrays of prefixes via prefixesOfSmallNumbers and prefixesOfBigNumbers.
Implementation public function get usePrefixes():Boolean
public function set usePrefixes(value:Boolean):void
| AmChart | () | constructor |
public function AmChart()Constructor.
| invalidateData | () | method |
public function invalidateData():voidIn case data inside your dataProvider was changed, you can call this method to rebuild the chart.
| dataUpdated | event |
com.amcharts.events.AmChartEvent
Dispatched when the chart was updated with new data, when dataProvider or data inside dataProvider was changed.