GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

toArray()

Home > @gooddata/sdk-ui > IDataSeriesCollection > toArray

IDataSeriesCollection.toArray() method

Returns all data series in an array.

Signature:

toArray(): IDataSeries[];

Returns:

IDataSeries[]

empty if no data series

Remarks

Note: if you are looking for a subset of measures, always prefer using the first-class methods and in favor of getting the array and filtering yourself.

  • IDataSeriesCollection.toArray() method
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use