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.

AmXYChart

Type class

AmXYChart is the class you have to use for XY/Bubble/Scatter chart types. The chart supports simple and logarithmic scales, it can have multiple value axes.

AxisBase

Type class

AxisBase is the base class for ValueAxis and CategoryAxis. It can not be instantiated explicitly.

CategoryAxis

Type class

CategoryAxis is the class which displays category axis for the Serial Chart. The chart can have only one category axis. If you do not add category axis to the Serial chart, it will be created automatically.

ChartCursor

Type class

ChartCursor is a class which displays a cursor which follows the mouse. In case of Serial chart it also shows value and category balloons.

ChartScrollbar

Type class

ChartScrollbar class displays chart scrollbar. Supported by AmSerialChart and AmXYChart.

GraphDataItem

Type class

GraphDataItem holds all the information about the graph’s data item. When working with a chart, you do not create GraphDataItem objects or change it’s properties directly. GraphDataItem is passed to you by events when user interacts with data item on the chart. The list of properties below will help you to extract data item’s value/coordinate/etc.

Guide

Type class

Guides are straight vertical or horizontal lines or areas supported by AmSerialChart, AmXYChart and AmRadarChart. You can have guides both on value and category axes. To add/remove a guide to an axis, use axis.addGuide(guide)/axis.removeGuide(guide) methods.

SerialDataItem

Type class

SerialDataItem holds all the information about each series. When working with a chart, you do not create SerialDataItem objects or change it’s properties directly. Consider properties of a SerialDataItem read-only – change values in chart’s data provider if you need to. When serial chart parses dataProvider, it generates “chartData” array. Objects of this array are SerialDataItem objects.

Slice

Type class

Slice is an item of AmPieChart’s chartData Array and holds all the information about the slice. When working with a pie chart, you do not create slices or change it’s properties directly, instead you set array of data using dataProvider property. Consider properties of a Slice read-only – change values in chart’s data provider if you need to.

TrendLine

Type class

Trend lines are straight lines indicating trends, might also be used for some different purposes. Can be used by Serial and XY charts. To add/remove trend line, use chart.addTrendLine(trendLine)/chart.removeTrendLine(trendLine) methods or simply pass array of trend lines: chart.trendLines = [trendLine1, trendLine2] Example: