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

dataPoints()

Home > @gooddata/sdk-ui > IDataSlice > dataPoints

IDataSlice.dataPoints() method

Signature:

dataPoints(): DataPoint[];

Returns:

DataPoint[]

  • all data points in this slice

Remarks

the slice is iterable over data points; if you want to iterate using for-of loop then it is not necessary to call this method - just use for (const dataPoint of slice) {...}

  • IDataSlice.dataPoints() 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