Home > @gooddata/sdk-ui > IDataSeriesCollection
An iterable collection of data series.
export interface IDataSeriesCollection extends Iterable<IDataSeries>
The collection additionally includes basic information about the origin of the data series that can be iterated - their number, measures they were calculated from and the scoping attributes.
|count||number||Number of available data series.|
|fromMeasures||IMeasureDescriptor||Descriptors of measures that are used in the data series.|
|fromMeasuresDef||IMeasure||Definitions of measures which were sent to execution and resulted in the data series.|
|scopingAttributes?||IAttributeDescriptor||(Optional) Descriptors of attributes that are used to create data series with scoped measure values.|
|scopingAttributesDef?||IAttribute||(Optional) Definitions of attributes which were sent to execution and resulted in the data series with scoped measure values.|
|allForMeasure(localIdOrMeasure)||Returns iterator over all data series created for particular measure.|
|firstForMeasure(localIdOrMeasure)||Returns first-found data series for the provided measure.|
|toArray()||Returns all data series in an array.|