@gooddata/sdk-ui-charts 11.40.0-alpha.4 → 11.40.0-alpha.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/NOTICE CHANGED
@@ -7,9 +7,9 @@
7
7
 
8
8
  The following 3rd-party software packages may be used by or distributed with gooddata-ui-sdk. Any information relevant to third-party vendors listed below are collected using common, reasonable means.
9
9
 
10
- Date generated: 2026-6-1
10
+ Date generated: 2026-6-2
11
11
 
12
- Revision ID: 58bde4b356bb7df1b4f63c7ebd5ae8a4fee89f71
12
+ Revision ID: 9578d3fcaf586a5a43aa0d269f308f27a7f322ef
13
13
 
14
14
  ================================================================================
15
15
  ================================================================================
@@ -38471,4 +38471,4 @@ POSSIBILITY OF SUCH DAMAGE.
38471
38471
  --------------------------------------------------------------------------------
38472
38472
  --------------------------------------------------------------------------------
38473
38473
 
38474
- Report Generated by FOSSA on 2026-6-1
38474
+ Report Generated by FOSSA on 2026-6-2
@@ -27,7 +27,6 @@ function getStackBy(stackByAttribute, stackByIndex) {
27
27
  let stackByItem = null;
28
28
  let stackByAttributeDescriptor = null;
29
29
  if (stackByAttribute) {
30
- // stackBy item index is always equal to seriesIndex
31
30
  stackByHeader = stackByAttribute.items[stackByIndex];
32
31
  stackByItem = {
33
32
  ...unwrap(stackByHeader),
@@ -78,7 +77,12 @@ export function getDrillableSeries(dv, series, drillableItems, viewByAttributes,
78
77
  measureHeaders = [measureGroup.items[measureIndex]];
79
78
  }
80
79
  const viewByIndex = isHeatmap(type) || isStackedTreemap ? pointData.x : pointIndex;
81
- const stackByIndex = isHeatmap(type) || isStackedTreemap ? pointData.y : seriesIndex;
80
+ // Scatter renders a single series, so the segment is resolved per point, not by seriesIndex (always 0).
81
+ const stackByIndex = isHeatmap(type) || isStackedTreemap
82
+ ? pointData.y
83
+ : isScatterPlot(type)
84
+ ? pointIndex
85
+ : seriesIndex;
82
86
  const { stackByHeader, stackByAttributeDescriptor } = getStackBy(stackByAttribute, stackByIndex);
83
87
  const { viewByHeader: viewByChildHeader, viewByAttributeDescriptor: viewByChildAttributeDescriptor, } = getViewBy(viewByChildAttribute, viewByIndex);
84
88
  const { viewByHeader: viewByParentHeader, viewByAttributeDescriptor: viewByParentAttributeDescriptor, } = getViewBy(viewByParentAttribute, viewByIndex);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooddata/sdk-ui-charts",
3
- "version": "11.40.0-alpha.4",
3
+ "version": "11.40.0-alpha.5",
4
4
  "description": "GoodData.UI SDK - Charts",
5
5
  "license": "LicenseRef-LICENSE",
6
6
  "author": "GoodData Corporation",
@@ -69,13 +69,13 @@
69
69
  "ts-invariant": "0.10.3",
70
70
  "tslib": "2.8.1",
71
71
  "uuid": "11.1.0",
72
- "@gooddata/sdk-backend-spi": "11.40.0-alpha.4",
73
- "@gooddata/sdk-model": "11.40.0-alpha.4",
74
- "@gooddata/sdk-ui": "11.40.0-alpha.4",
75
- "@gooddata/sdk-ui-kit": "11.40.0-alpha.4",
76
- "@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.4",
77
- "@gooddata/util": "11.40.0-alpha.4",
78
- "@gooddata/sdk-ui-vis-commons": "11.40.0-alpha.4"
72
+ "@gooddata/sdk-backend-spi": "11.40.0-alpha.5",
73
+ "@gooddata/sdk-model": "11.40.0-alpha.5",
74
+ "@gooddata/sdk-ui": "11.40.0-alpha.5",
75
+ "@gooddata/sdk-ui-theme-provider": "11.40.0-alpha.5",
76
+ "@gooddata/sdk-ui-kit": "11.40.0-alpha.5",
77
+ "@gooddata/sdk-ui-vis-commons": "11.40.0-alpha.5",
78
+ "@gooddata/util": "11.40.0-alpha.5"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@microsoft/api-documenter": "^7.17.0",
@@ -120,11 +120,11 @@
120
120
  "typescript": "5.9.3",
121
121
  "vitest": "4.1.8",
122
122
  "vitest-dom": "0.1.1",
123
- "@gooddata/eslint-config": "11.40.0-alpha.4",
124
- "@gooddata/oxlint-config": "11.40.0-alpha.4",
125
- "@gooddata/reference-workspace": "11.40.0-alpha.4",
126
- "@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.4",
127
- "@gooddata/stylelint-config": "11.40.0-alpha.4"
123
+ "@gooddata/eslint-config": "11.40.0-alpha.5",
124
+ "@gooddata/oxlint-config": "11.40.0-alpha.5",
125
+ "@gooddata/reference-workspace": "11.40.0-alpha.5",
126
+ "@gooddata/sdk-backend-mockingbird": "11.40.0-alpha.5",
127
+ "@gooddata/stylelint-config": "11.40.0-alpha.5"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "react": "^18.0.0 || ^19.0.0",