IDataSeries
Home > @gooddata/sdk-ui > IDataSeries
IDataSeries interface
Data series is a sequence of data points that are all computed from a single measure, scoped for particular attribute elements.
Signature:
export interface IDataSeries extends DataSeriesDescriptorMethods, Iterable<DataPoint>
Extends: DataSeriesDescriptorMethods, Iterable<DataPoint>
Remarks
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.
Properties
Property |
Modifiers |
Type |
Description |
---|---|---|---|
|
Descriptor of this data series - what measure it was calculated from, whether it is scoped and if so to what attribute headers. | ||
|
Unique identifier of the data series. This can be used to directly access this data series from data view. |
Methods
Method |
Description |
---|---|