Skip to content

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.

Sources

This information about SerialDataItem is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

SerialDataItem does not extend any other symbol.

SerialDataItem is not extended by any other symbol.

Properties

axes

Type object

You can access each GraphDataItem using this object. The data structure is: graphDataItem = serialDataItem.axes[axisId].graphs[graphId].

category

Type string

category value. String if parseDates is false, Date if true.

dataContext

Type object

Reference to original data object, from dataProvider.

time

Type number

Time stamp of a series date. Avalable only if parseDates property of CategoryAxis is set to true.

x

Type number

Coordinate (horizontal or vertical, depends on chart's rotate property) of the series.

Methods

SerialDataItem does not have any methods.

Events

SerialDataItem does not have any events.