Important version information!

You are browsing a class reference for deprecated Version 2 of the JavaScript Charts.

Documentation for other versions: amCharts 4 (current) or amCharts 3.

SerialDataItem

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.

Properties

PropertyTypeDefaultDescription
axesObjectYou can access each GraphDataItem using this object. The data structure is: graphDataItem = serialDataItem.axes[axisId].graphs[graphId].
categoryString/Datecategory value. String if parseDates is false, Date if true.
timeNumberTime stamp of a series date. Avalable only if parseDates property of CategoryAxis is set to true.
xNumberCoordinate (horizontal or vertical, depends on chart's rotate property) of the series.

Methods

SerialDataItem class does not have any methods.

Events

SerialDataItem class does not have any events.