Important version information!

You are browsing a class reference for Version 2 of the JavaScript Charts. If you are using Version 3 (current), please click here.

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.