Information on this website refers to a deprecated product, and is provided only for historical reference. Please use the Version Switcher above to select an appropriate documentation website for the product you are using.

AmBalloon

Type class

AmBalloon is the class which generates balloons (datatips). Balloon follows the mouse when you roll-over the pie slice/line bullet/column/etc, chart indicator of serial charts displays value balloons and category balloon. Balloon instance is created by the chart automatically and can be accessed via "balloon" property of AmChart. Chart shows/hides and sets position for every balloon automatically, so all you need to do is to change balloon appearance, if you want to. For example:

AmChart

Type class

AmChart is a base class of all charts. It can not be instantiated explicitly. AmCoordinateChart, AmPieChart and AmMap extend AmChart class.

AmCharts

Type class

AmCharts object (it’s not a class) is create automatically when amcharts.js or amstock.js file is included in a web page.

AmCoordinateChart

Type class

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

AmGraph

Type class

AmGraph class displays all types of graphs – line, column, step line, smoothed line, ohlc and candlestick. Example:

AmLegend

Type class

AmLegend is the class that displays legend of the chart. Legend to the chart should be added using chart.addLegend(legend) method. For example:

AmPieChart

Type class

AmPieChart class creates pie/donut chart. In order to display pie chart you need to set at least three properties – dataProvider, titleField and valueField. For example:

AmRadarChart

Type class

AmRadarChart is the class you have to use for radar and polar chart types.

AmRectangularChart

Type class

AmRectangularChart is a base class of AmSerialChart and AmXYChart. It can not be instantiated explicitly.

AmSerialChart

Type class

AmSerialChart is the class you have to use for majority of chart types. The supported chart types are: line, area, column, bar, step line, smoothed line, candlestick and OHLC. The chart can be rotated by 90 degrees so the column chart becomes bar chart. The chart supports simple and logarithmic scales, it can have multiple value axes. The chart can place data points at equal intervals or can parse dates and place data points at irregular intervals.