Home > @gooddata/sdk-ui > IDataSeries
Data series is a sequence of data points that are all computed from a single measure, scoped for particular attribute elements.
export interface IDataSeries extends DataSeriesDescriptorMethods, Iterable<DataPoint>
Extends: DataSeriesDescriptorMethods, Iterable<DataPoint
In other words, data series allows iterating over two dimensional data view _along_ the dimension which contains the measures (via inclusion of MeasureGroupIdentifier).
For convenience, the data series is iterable over Data Points. You can use it either in for-of loop or spread data series into an array of DataPoints.
|descriptor||DataSeriesDescriptor||Descriptor of this data series - what measure it was calculated from, whether it is scoped and if so to what attribute headers.|
|id||DataSeriesId||Unique identifier of the data series. This can be used to directly access this data series from data view.|