@gooddata/sdk-ui-charts 11.68.0-alpha.8 → 11.68.0

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.
Files changed (48) hide show
  1. package/NOTICE +31 -362
  2. package/esm/charts/_commons/chartDefinition.d.ts.map +1 -1
  3. package/esm/charts/_commons/chartDefinition.js +3 -3
  4. package/esm/charts/areaChart/AreaChart.d.ts.map +1 -1
  5. package/esm/charts/areaChart/AreaChart.js +2 -14
  6. package/esm/charts/headline/Headline.d.ts.map +1 -1
  7. package/esm/charts/headline/Headline.js +2 -2
  8. package/esm/charts/repeater/Repeater.d.ts.map +1 -1
  9. package/esm/charts/repeater/Repeater.js +2 -2
  10. package/esm/charts/xirr/Xirr.d.ts.map +1 -1
  11. package/esm/charts/xirr/Xirr.js +2 -2
  12. package/esm/highcharts/adapter/HighChartsRenderer.d.ts.map +1 -1
  13. package/esm/highcharts/adapter/HighChartsRenderer.js +3 -3
  14. package/esm/highcharts/adapter/legendBuilder.d.ts.map +1 -1
  15. package/esm/highcharts/adapter/legendBuilder.js +7 -6
  16. package/esm/highcharts/adapter/plugins/autohideLabels/autohideBarLabels.d.ts.map +1 -1
  17. package/esm/highcharts/adapter/plugins/autohideLabels/autohideBarLabels.js +2 -2
  18. package/esm/highcharts/adapter/propertyMerger.js +3 -3
  19. package/esm/highcharts/chartTypes/_chartCreators/commonConfiguration.js +4 -4
  20. package/esm/highcharts/chartTypes/_chartCreators/customConfiguration.js +4 -4
  21. package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.d.ts.map +1 -1
  22. package/esm/highcharts/chartTypes/_chartCreators/drilldownEventing.js +3 -4
  23. package/esm/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.d.ts.map +1 -1
  24. package/esm/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.js +8 -7
  25. package/esm/highcharts/chartTypes/_chartCreators/highChartsCreators.js +2 -2
  26. package/esm/highcharts/chartTypes/_chartCreators/responsive.d.ts.map +1 -1
  27. package/esm/highcharts/chartTypes/_chartCreators/responsive.js +2 -3
  28. package/esm/highcharts/chartTypes/_chartOptions/chartAxes.d.ts.map +1 -1
  29. package/esm/highcharts/chartTypes/_chartOptions/chartAxes.js +3 -4
  30. package/esm/highcharts/chartTypes/_chartOptions/chartDrilling.d.ts.map +1 -1
  31. package/esm/highcharts/chartTypes/_chartOptions/chartDrilling.js +4 -3
  32. package/esm/highcharts/chartTypes/_chartOptions/chartOptionsBuilder.js +2 -2
  33. package/esm/highcharts/chartTypes/_util/helper.d.ts.map +1 -1
  34. package/esm/highcharts/chartTypes/_util/helper.js +0 -1
  35. package/esm/highcharts/chartTypes/comboChart/comboChartOptions.js +8 -8
  36. package/esm/highcharts/chartTypes/donutChart/donutConfiguration.js +2 -2
  37. package/esm/highcharts/chartTypes/heatmap/heatmapColoring.d.ts.map +1 -1
  38. package/esm/highcharts/chartTypes/heatmap/heatmapColoring.js +2 -3
  39. package/esm/highcharts/chartTypes/sankeyChart/sankeyChartColoring.d.ts.map +1 -1
  40. package/esm/highcharts/chartTypes/sankeyChart/sankeyChartColoring.js +2 -3
  41. package/esm/highcharts/chartTypes/scatterPlot/scatterPlotColoring.d.ts.map +1 -1
  42. package/esm/highcharts/chartTypes/scatterPlot/scatterPlotColoring.js +2 -3
  43. package/esm/highcharts/chartTypes/scatterPlot/scatterPlotSeries.d.ts.map +1 -1
  44. package/esm/highcharts/chartTypes/scatterPlot/scatterPlotSeries.js +5 -5
  45. package/esm/interfaces/chartConfig.d.ts +2 -6
  46. package/esm/interfaces/chartConfig.d.ts.map +1 -1
  47. package/esm/sdk-ui-charts.d.ts +2 -6
  48. package/package.json +13 -13
@@ -3,12 +3,12 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { memo, useCallback, useEffect, useMemo, useRef, useState, } from "react";
4
4
  import cx from "classnames";
5
5
  import * as jsYaml from "js-yaml";
6
- import { partial, set, throttle } from "lodash-es";
6
+ import { partial, throttle } from "lodash-es";
7
7
  import { v4 } from "uuid";
8
8
  import { LoadingComponent, VisualizationTypes } from "@gooddata/sdk-ui";
9
9
  import { Bubble, BubbleHoverTrigger, IconUndo } from "@gooddata/sdk-ui-kit";
10
10
  import { Legend, getLegendDetails, } from "@gooddata/sdk-ui-vis-commons";
11
- import { _isEqual } from "@gooddata/util";
11
+ import { _isEqual, _set } from "@gooddata/util";
12
12
  import { alignChart } from "../chartTypes/_chartCreators/helpers.js";
13
13
  import { isFunnel, isHeatmap, isOneOfTypes, isPieOrDonutChart, isSankeyOrDependencyWheel, isWaterfall, } from "../chartTypes/_util/common.js";
14
14
  import { BOTTOM, LEFT, RIGHT, TOP } from "../typings/mess.js";
@@ -74,7 +74,7 @@ export const HighChartsRenderer = memo(function HighChartsRenderer({ chartOption
74
74
  if (item.anomaly) {
75
75
  return;
76
76
  }
77
- setLegendItemsEnabled((prev) => set([...prev], item.legendIndex, !prev[item.legendIndex]));
77
+ setLegendItemsEnabled((prev) => _set([...prev], item.legendIndex, !prev[item.legendIndex]));
78
78
  }, []);
79
79
  const getItems = useCallback((items) => {
80
80
  return items.map((i) => {
@@ -1 +1 @@
1
- {"version":3,"file":"legendBuilder.d.ts","sourceRoot":"","sources":["../../../src/highcharts/adapter/legendBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAEH,KAAK,cAAc,EAGnB,KAAK,qBAAqB,EAC7B,MAAM,8BAA8B,CAAC;AAgBtC,OAAO,EAAE,KAAK,aAAa,EAA0C,MAAM,sBAAsB,CAAC;AAgBlG,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,aAAa,GAAG,OAAO,CAkD1E;AAED,wBAAgB,cAAc,CAC1B,YAAY,EAAE,aAAa,EAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,qBAAqB,EAAE,CAiGzB;AA+BD,wBAAgB,kBAAkB,CAC9B,YAAY,EAAE,GAAG,YAAK,EACtB,YAAY,EAAE,aAAa,EAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,cAAc,CAmEhB"}
1
+ {"version":3,"file":"legendBuilder.d.ts","sourceRoot":"","sources":["../../../src/highcharts/adapter/legendBuilder.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAE5C,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAElD,OAAO,EAEH,KAAK,cAAc,EAGnB,KAAK,qBAAqB,EAC7B,MAAM,8BAA8B,CAAC;AAiBtC,OAAO,EAAE,KAAK,aAAa,EAA0C,MAAM,sBAAsB,CAAC;AAgBlG,wBAAgB,qBAAqB,CAAC,YAAY,EAAE,aAAa,GAAG,OAAO,CAkD1E;AAED,wBAAgB,cAAc,CAC1B,YAAY,EAAE,aAAa,EAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,qBAAqB,EAAE,CAiGzB;AA+BD,wBAAgB,kBAAkB,CAC9B,YAAY,EAAE,GAAG,YAAK,EACtB,YAAY,EAAE,aAAa,EAC3B,KAAK,EAAE,MAAM,GAAG,SAAS,EACzB,IAAI,CAAC,EAAE,SAAS,GACjB,cAAc,CAmEhB"}
@@ -1,7 +1,8 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { pick, set, sortBy, uniqBy } from "lodash-es";
2
+ import { pick } from "lodash-es";
3
3
  import { VisualizationTypes } from "@gooddata/sdk-ui";
4
4
  import { DEFAULT_LEGEND_CONFIG, } from "@gooddata/sdk-ui-vis-commons";
5
+ import { _set, _sortBy, _uniqBy } from "@gooddata/util";
5
6
  import { supportedDualAxesChartTypes } from "../chartTypes/_chartOptions/chartCapabilities.js";
6
7
  import { isAreaChart, isBubbleChart, isComboChart, isHeatmap, isLineChart, isOneOfTypes, isSankeyOrDependencyWheel, isScatterPlot, isTreemap, isWaterfall, } from "../chartTypes/_util/common.js";
7
8
  import { createDualAxesSeriesMapper, createWaterfallLegendItems, getComboChartSeries, isStackedChart, } from "./legendHelpers.js";
@@ -108,7 +109,7 @@ export function getLegendItems(chartOptions, theme, intl) {
108
109
  pickedProps = [...pickedProps, "pointShape"];
109
110
  }
110
111
  if (isScatterPlot(type)) {
111
- const uniqueItems = sortBy(uniqBy(chartOptions.data?.series?.[0]?.data, (it) => it.legendIndex), (it) => it.legendIndex);
112
+ const uniqueItems = _sortBy(_uniqBy(chartOptions.data?.series?.[0]?.data, (it) => it.legendIndex), (it) => it.legendIndex);
112
113
  return uniqueItems.map((it) => {
113
114
  return {
114
115
  type: VisualizationTypes.SCATTER,
@@ -189,18 +190,18 @@ export function buildLegendOptions(legendConfig = {}, chartOptions, theme, intl)
189
190
  ];
190
191
  if (legendConfig.position === "auto" || !legendConfig.position) {
191
192
  if (isOneOfTypes(chartOptions.type, rightLegendCharts)) {
192
- set(defaultLegendConfigByType, "position", "right");
193
+ _set(defaultLegendConfigByType, "position", "right");
193
194
  }
194
195
  if (isOneOfTypes(chartOptions.type, defaultTopLegendCharts) && !chartOptions.hasStackByAttribute) {
195
- set(defaultLegendConfigByType, "position", "top");
196
+ _set(defaultLegendConfigByType, "position", "top");
196
197
  }
197
198
  }
198
199
  if ((legendConfig.enabled === undefined || legendConfig.enabled === null) &&
199
200
  isOneOfTypes(chartOptions.type, defaultHideLegendCharts)) {
200
- set(defaultLegendConfigByType, "enabled", false);
201
+ _set(defaultLegendConfigByType, "enabled", false);
201
202
  }
202
203
  if (shouldUseResponsiveLegend(chartOptions.type, legendConfig.position)) {
203
- set(defaultLegendConfigByType, "responsive", "autoPositionWithPopup");
204
+ _set(defaultLegendConfigByType, "responsive", "autoPositionWithPopup");
204
205
  }
205
206
  const baseConfig = {
206
207
  ...DEFAULT_LEGEND_CONFIG,
@@ -1 +1 @@
1
- {"version":3,"file":"autohideBarLabels.d.ts","sourceRoot":"","sources":["../../../../../src/highcharts/adapter/plugins/autohideLabels/autohideBarLabels.ts"],"names":[],"mappings":"AA8HA,eAAO,MAAM,iBAAiB,UAAW,GAAG,KAAG,IAW9C,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAW,UAAU,CAAC,KAAK,KAAG,IAsBrE,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAW,UAAU,CAAC,KAAK,KAAG,IAKhE,CAAC;AA0BF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,QAgBnD"}
1
+ {"version":3,"file":"autohideBarLabels.d.ts","sourceRoot":"","sources":["../../../../../src/highcharts/adapter/plugins/autohideLabels/autohideBarLabels.ts"],"names":[],"mappings":"AA6HA,eAAO,MAAM,iBAAiB,UAAW,GAAG,KAAG,IAW9C,CAAC;AAEF,eAAO,MAAM,2BAA2B,UAAW,UAAU,CAAC,KAAK,KAAG,IAsBrE,CAAC;AAEF,eAAO,MAAM,sBAAsB,UAAW,UAAU,CAAC,KAAK,KAAG,IAKhE,CAAC;AA0BF,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,QAgBnD"}
@@ -1,6 +1,6 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { sortBy } from "lodash-es";
3
2
  import { VisualizationTypes } from "@gooddata/sdk-ui";
3
+ import { _sortBy } from "@gooddata/util";
4
4
  import { areLabelsStacked, getDataLabelAttributes, getShapeVisiblePart, hasDataLabel, hideDataLabel, hideDataLabels, setStackVisibilityByOpacity, showDataLabelInAxisRange, showStackLabelInAxisRange, } from "../../../chartTypes/_chartCreators/dataLabelsHelpers.js";
5
5
  import { getAxisRangeForAxes, getAxisWithCategories, getDataPointsOfVisibleSeries, getPointsVisibleInAxisRange, getShapeAttributes, isIntersecting, isPointVisibleInAxisRange, isStacked, toNeighbors, } from "../../../chartTypes/_chartCreators/helpers.js";
6
6
  import { areLabelsOverlappingColumns, getStackItems, getStackTotalGroups } from "./autohideColumnLabels.js";
@@ -38,7 +38,7 @@ const toggleStackedChartLabels = (visiblePoints, axisRangeForAxes, zoomableAxis)
38
38
  const toggleNonStackedChartLabels = (points, axisRangeForAxes, shouldCheckShapeIntersection = false, zoomableAxis) => {
39
39
  // for intersection detection keep only points visible within axis range
40
40
  const visiblePoints = getPointsVisibleInAxisRange(points, zoomableAxis);
41
- const sortedPoints = sortBy(visiblePoints, (a, b) => {
41
+ const sortedPoints = _sortBy(visiblePoints, (a, b) => {
42
42
  const firstLabelAttr = getDataLabelAttributes(a);
43
43
  const nextLabelAttr = getDataLabelAttributes(b);
44
44
  return firstLabelAttr.y - nextLabelAttr.y;
@@ -1,8 +1,8 @@
1
- // (C) 2024-2025 GoodData Corporation
2
- import { merge } from "lodash-es";
1
+ // (C) 2024-2026 GoodData Corporation
2
+ import { _merge } from "@gooddata/util";
3
3
  export const mergePropertiesWithOverride = (base, override) => {
4
4
  if (override === undefined) {
5
5
  return base;
6
6
  }
7
- return merge(base, override);
7
+ return _merge(base, override);
8
8
  };
@@ -1,7 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
2
  import Highcharts from "highcharts/esm/highcharts.js";
3
- import { invoke, set } from "lodash-es";
4
- import { _isEmpty } from "@gooddata/util";
3
+ import { invoke } from "lodash-es";
4
+ import { _isEmpty, _set } from "@gooddata/util";
5
5
  import { getBackplateLabelColor, getBackplateStackedLabelStyling, getBlackLabelStyle, getBlackStackedLabelStyle, } from "../../constants/label.js";
6
6
  import { DEFAULT_CATEGORIES_LIMIT } from "../../constants/limits.js";
7
7
  import { isHighContrastMode } from "../../utils/highContrastMode.js";
@@ -456,7 +456,7 @@ function getThemedConfiguration(theme, config, chartOptions, intl) {
456
456
  };
457
457
  }
458
458
  function registerDrilldownHandler(configuration, chartOptions, drillConfig) {
459
- set(configuration, "chart.events.drilldown", function chartDrilldownHandler(event) {
459
+ _set(configuration, "chart.events.drilldown", function chartDrilldownHandler(event) {
460
460
  this.tooltip?.hide();
461
461
  chartClick(drillConfig, event, this.container, this.id, chartOptions.type);
462
462
  });
@@ -475,7 +475,7 @@ export function handleChartLoad(chartType) {
475
475
  }
476
476
  function registerRenderHandler(configuration, chartOptions) {
477
477
  if (isOneOfTypes(chartOptions.type, supportedDualAxesChartTypes)) {
478
- set(configuration, "chart.events.render", handleChartLoad(chartOptions.type));
478
+ _set(configuration, "chart.events.render", handleChartLoad(chartOptions.type));
479
479
  }
480
480
  return configuration;
481
481
  }
@@ -1,11 +1,11 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
2
  import cx from "classnames";
3
- import { merge, partial, pickBy } from "lodash-es";
3
+ import { partial, pickBy } from "lodash-es";
4
4
  import { ClientFormatterFacade } from "@gooddata/number-formatter";
5
5
  import { isMeasureFormatInPercent } from "@gooddata/sdk-model";
6
6
  import { VisualizationTypes } from "@gooddata/sdk-ui";
7
7
  import { buildTooltipLocalizedStrings, getLighterColor, isPatternObject } from "@gooddata/sdk-ui-vis-commons";
8
- import { _compact, _isEmpty } from "@gooddata/util";
8
+ import { _compact, _isEmpty, _merge } from "@gooddata/util";
9
9
  import { getBlackLabelStyle } from "../../constants/label.js";
10
10
  import { DEFAULT_TOOLTIP_Z_INDEX } from "../../tooltipZIndex.js";
11
11
  import { isHighContrastMode } from "../../utils/highContrastMode.js";
@@ -1370,7 +1370,7 @@ export function getCustomizedConfiguration({ chartOptions, chartConfig, drillCon
1370
1370
  getLineShapeConfiguration,
1371
1371
  ];
1372
1372
  const commonData = configurators.reduce((highchartsOptions, configurator) => {
1373
- return merge(highchartsOptions, configurator({ chartOptions, highchartsOptions, chartConfig, drillConfig, intl, theme }));
1373
+ return _merge(highchartsOptions, configurator({ chartOptions, highchartsOptions, chartConfig, drillConfig, intl, theme }));
1374
1374
  }, {});
1375
- return merge({}, commonData);
1375
+ return _merge({}, commonData);
1376
1376
  }
@@ -1 +1 @@
1
- {"version":3,"file":"drilldownEventing.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/drilldownEventing.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,YAAY,EAOjB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAA+B,MAAM,kCAAkC,CAAC;AAE5G,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,OAAO,GAAG,gBAAgB,CAyBlF;AA8JD,wBAAgB,UAAU,CACtB,WAAW,EAAE,YAAY,EACzB,KAAK,EAAE,UAAU,CAAC,oBAAoB,EACtC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN;AAuCD,wBAAgB,cAAc,CAC1B,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,sBAAsB,EAAE,EAChC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN"}
1
+ {"version":3,"file":"drilldownEventing.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/drilldownEventing.ts"],"names":[],"mappings":"AAIA,OAAO,EACH,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,YAAY,EAOjB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAM1B,OAAO,EAAE,KAAK,sBAAsB,EAA+B,MAAM,kCAAkC,CAAC;AAE5G,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,OAAO,GAAG,gBAAgB,CAyBlF;AA8JD,wBAAgB,UAAU,CACtB,WAAW,EAAE,YAAY,EACzB,KAAK,EAAE,UAAU,CAAC,oBAAoB,EACtC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN;AAuCD,wBAAgB,cAAc,CAC1B,WAAW,EAAE,YAAY,EACzB,MAAM,EAAE,sBAAsB,EAAE,EAChC,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,GACrB,IAAI,CAEN"}
@@ -1,8 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { debounce } from "lodash-es";
3
2
  import { invariant } from "ts-invariant";
4
3
  import { VisualizationTypes, getVisualizationType, } from "@gooddata/sdk-ui";
5
- import { _cloneDeep } from "@gooddata/util";
4
+ import { _cloneDeep, _debounce } from "@gooddata/util";
6
5
  import { convertToChartType, isBulletChart, isComboChart, isHeatmap, isTreemap } from "../_util/common.js";
7
6
  import { isGroupHighchartsDrillEvent } from "./isGroupHighchartsDrillEvent.js";
8
7
  export function getClickableElementNameByChartType(type) {
@@ -113,7 +112,7 @@ function composeDrillContextPoint(point, chartType) {
113
112
  ...customProp,
114
113
  };
115
114
  }
116
- const chartClickDebounced = debounce((drillConfig, event, target, chartId, chartType) => {
115
+ const chartClickDebounced = _debounce((drillConfig, event, target, chartId, chartType) => {
117
116
  const originalEvent = event.originalEvent;
118
117
  const { dataView, onDrill } = drillConfig;
119
118
  const type = getVisualizationType(chartType);
@@ -151,7 +150,7 @@ const chartClickDebounced = debounce((drillConfig, event, target, chartId, chart
151
150
  export function chartClick(drillConfig, event, target, chartId, chartType) {
152
151
  chartClickDebounced(drillConfig, event, target, chartId, chartType);
153
152
  }
154
- const tickLabelClickDebounce = debounce((drillConfig, points, target, chartId, chartType) => {
153
+ const tickLabelClickDebounce = _debounce((drillConfig, points, target, chartId, chartType) => {
155
154
  const { dataView, onDrill } = drillConfig;
156
155
  const contextPoints = points.map((point) => {
157
156
  const customProps = isBulletChart(chartType)
@@ -1 +1 @@
1
- {"version":3,"file":"getOptionalStackingConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAqB,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAEH,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACpB,MAAM,yBAAyB,CAAC;AAajC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAsFrE;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,CA8BlF;AA2BD,wBAAgB,qBAAqB,CACjC,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,YAAY,CA+Bd;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,oBAAoB,CAoBtB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,CAAC,EAAE,YAAY,GAC3B;IACC,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB,CA4BA;AAED,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,YAAY,GAAG;IAC9D,KAAK,EAAE;QACH,WAAW,EAAE,YAAY,CAAC;KAC7B,EAAE,CAAC;CACP,CAEA;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,aAAa,YAAK,EAChC,WAAW,EAAE,YAAY,EACzB,OAAO,GAAE,iBAAsB,GAChC,iBAAiB,CA2BnB;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC5C,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,iBAAiB,CAkCnB;AAED,wBAAgB,gCAAgC,CAAC,EAC7C,YAAY,EACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EACX,WAAW,GACd,EAAE,oBAAoB,GAAG,iBAAiB,CAa1C"}
1
+ {"version":3,"file":"getOptionalStackingConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/getOptionalStackingConfiguration.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAGrD,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAEvE,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,YAAY,EAAqB,MAAM,oBAAoB,CAAC;AAClG,OAAO,EAEH,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,YAAY,EACpB,MAAM,yBAAyB,CAAC;AAajC,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,0BAA0B,CAAC;AAsFrE;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,MAAM,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE,CA8BlF;AA2BD,wBAAgB,qBAAqB,CACjC,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,YAAY,CA+Bd;AAED;;GAEG;AACH,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,oBAAoB,CAoBtB;AAED;;GAEG;AACH,wBAAgB,+BAA+B,CAC3C,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,CAAC,EAAE,YAAY,GAC3B;IACC,KAAK,EAAE,YAAY,EAAE,CAAC;CACzB,CA4BA;AAED,wBAAgB,qBAAqB,CAAC,WAAW,EAAE,YAAY,GAAG;IAC9D,KAAK,EAAE;QACH,WAAW,EAAE,YAAY,CAAC;KAC7B,EAAE,CAAC;CACP,CAEA;AAED;;;GAGG;AACH,wBAAgB,6BAA6B,CACzC,YAAY,EAAE,aAAa,YAAK,EAChC,WAAW,EAAE,YAAY,EACzB,OAAO,GAAE,iBAAsB,GAChC,iBAAiB,CA2BnB;AAED;;;GAGG;AACH,wBAAgB,gCAAgC,CAC5C,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,iBAAiB,EACzB,WAAW,EAAE,YAAY,GAC1B,iBAAiB,CAkCnB;AAED,wBAAgB,gCAAgC,CAAC,EAC7C,YAAY,EACZ,iBAAiB,EAAE,MAAM,EACzB,WAAW,EACX,WAAW,GACd,EAAE,oBAAoB,GAAG,iBAAiB,CAa1C"}
@@ -1,5 +1,6 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { merge, partial, set } from "lodash-es";
2
+ import { partial } from "lodash-es";
3
+ import { _merge, _set } from "@gooddata/util";
3
4
  import { supportedStackingAttributesChartTypes } from "../_chartOptions/chartCapabilities.js";
4
5
  import { getPrimaryChartType, isBarChart, isColumnChart, isComboChart, isInvertedChartType, isLineChart, isMekko, } from "../_util/common.js";
5
6
  import { canComboChartBeStackedInPercent } from "../comboChart/comboChartOptions.js";
@@ -172,15 +173,15 @@ export function getParentAttributeConfiguration(chartOptions, config, chartConfi
172
173
  // parent attribute in X axis
173
174
  const parentAttributeOptions = {};
174
175
  // only apply font-weight to parent label
175
- set(parentAttributeOptions, "style", {
176
+ _set(parentAttributeOptions, "style", {
176
177
  fontWeight: "bold",
177
178
  });
178
179
  if (isInvertedChartType(type, chartConfig?.orientation?.position)) {
179
180
  // distance more 5px for two groups of attributes for bar chart
180
- set(parentAttributeOptions, "x", -5);
181
+ _set(parentAttributeOptions, "x", -5);
181
182
  }
182
183
  // 'groupedOptions' is custom property in 'grouped-categories' plugin
183
- set(xAxisItem, "labels.groupedOptions", [parentAttributeOptions]);
184
+ _set(xAxisItem, "labels.groupedOptions", [parentAttributeOptions]);
184
185
  return { xAxis: [xAxisItem] };
185
186
  }
186
187
  export function setDrillConfigToXAxis(drillConfig) {
@@ -233,10 +234,10 @@ export function convertMinMaxFromPercentToNumber(chartOptions, config, chartConf
233
234
  const { min, max } = axis;
234
235
  const newAxis = {};
235
236
  if (!(min === null || min === undefined) && typeof min === "number") {
236
- set(newAxis, "min", min * 100);
237
+ _set(newAxis, "min", min * 100);
237
238
  }
238
239
  if (!(max === null || max === undefined) && typeof max === "number") {
239
- set(newAxis, "max", max * 100);
240
+ _set(newAxis, "max", max * 100);
240
241
  }
241
242
  const numberOfAxes = axes.length;
242
243
  if (numberOfAxes === 1) {
@@ -251,6 +252,6 @@ export function getOptionalStackingConfiguration({ chartOptions, highchartsOptio
251
252
  const { type } = chartOptions;
252
253
  // supportedStackingAttributesChartTypes not include empty string so cast undefined to empty string is ok
253
254
  return supportedStackingAttributesChartTypes.includes(type ?? "")
254
- ? merge({}, drillConfig ? setDrillConfigToXAxis(drillConfig) : {}, getParentAttributeConfiguration(chartOptions, config, chartConfig), getStackMeasuresConfiguration(chartOptions, config, chartConfig), getShowInPercentConfiguration(chartOptions, chartConfig, config), convertMinMaxFromPercentToNumber(chartOptions, config, chartConfig))
255
+ ? _merge({}, drillConfig ? setDrillConfigToXAxis(drillConfig) : {}, getParentAttributeConfiguration(chartOptions, config, chartConfig), getStackMeasuresConfiguration(chartOptions, config, chartConfig), getShowInPercentConfiguration(chartOptions, chartConfig, config), convertMinMaxFromPercentToNumber(chartOptions, config, chartConfig))
255
256
  : {};
256
257
  }
@@ -1,7 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { merge } from "lodash-es";
3
2
  import { invariant } from "ts-invariant";
4
3
  import { VisualizationTypes } from "@gooddata/sdk-ui";
4
+ import { _merge } from "@gooddata/util";
5
5
  import { stringifyChartTypes } from "../_util/common.js";
6
6
  import { getAreaConfiguration } from "../areaChart/areaConfiguration.js";
7
7
  import { getBarConfiguration } from "../barChart/barConfiguration.js";
@@ -50,7 +50,7 @@ export function getHighchartsOptions({ chartOptions, drillConfig, chartConfig, i
50
50
  const getConfigurationByType = chartConfigurationMap[chartOptions.type];
51
51
  invariant(getConfigurationByType, `visualisation type ${chartOptions.type} is invalid (valid types: ${stringifyChartTypes()}).`);
52
52
  const definition = drillConfig.dataView.definition;
53
- return merge({}, getCommonConfiguration(chartOptions, drillConfig, theme, chartConfig, intl), getConfigurationByType.call(null, chartConfig, definition, theme), getCustomizedConfiguration({ chartOptions, chartConfig, drillConfig, intl, theme }));
53
+ return _merge({}, getCommonConfiguration(chartOptions, drillConfig, theme, chartConfig, intl), getConfigurationByType.call(null, chartConfig, definition, theme), getCustomizedConfiguration({ chartOptions, chartConfig, drillConfig, intl, theme }));
54
54
  }
55
55
  export function isDataOfReasonableSize(chartData, limits, isViewByTwoAttributes = false) {
56
56
  let result = true;
@@ -1 +1 @@
1
- {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/responsive.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,KAAK,2BAA2B,EAAwC,MAAM,oBAAoB,CAAC;AAmH5G;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,cACxB,OAAO,eACL,MAAM,eACN,MAAM,KACnB,2BAEF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,2BA2CxC,CAAC"}
1
+ {"version":3,"file":"responsive.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartCreators/responsive.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,2BAA2B,EAAwC,MAAM,oBAAoB,CAAC;AAmH5G;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,cACxB,OAAO,eACL,MAAM,eACN,MAAM,KACnB,2BAEF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,sBAAsB,QAAO,2BA2CxC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { range } from "lodash-es";
3
- import { _cloneDeep } from "@gooddata/util";
2
+ import { _cloneDeep, _range } from "@gooddata/util";
4
3
  const UPPER_LIMIT_RATIO = 35;
5
4
  const BOTTOM_LIMIT_HEIGHT_RATIO = 15;
6
5
  const BOTTOM_LIMIT_WIDTH_RATIO = 20;
@@ -30,7 +29,7 @@ const yAxisTitleDisabledOption = {
30
29
  },
31
30
  };
32
31
  function forMultipleAxes(count, options) {
33
- return range(count).map(() => _cloneDeep(options));
32
+ return _range(count).map(() => _cloneDeep(options));
34
33
  }
35
34
  const getResponsiveConfigOptions = (inverted, xAxesCount, yAxesCount) => {
36
35
  const axisKeyX = inverted ? "yAxis" : "xAxis";
@@ -1 +1 @@
1
- {"version":3,"file":"chartAxes.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartOptions/chartAxes.ts"],"names":[],"mappings":"AAIA,OAAO,EAA2B,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAmCvE,wBAAgB,QAAQ,CACpB,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC3D,eAAe,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EACvE,qBAAqB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EAC7E,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,KAAK,EAAE,CAqDT;AAsID,wBAAgB,QAAQ,CACpB,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC3D,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,GACzE,KAAK,EAAE,CAoCT;AAuCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,CAgBhF"}
1
+ {"version":3,"file":"chartAxes.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartOptions/chartAxes.ts"],"names":[],"mappings":"AAEA,OAAO,EAA2B,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC5F,OAAO,EAAe,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,oCAAoC,CAAC;AACvE,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,KAAK,EAAE,KAAK,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAmCvE,wBAAgB,QAAQ,CACpB,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC3D,eAAe,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EACvE,qBAAqB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EAC7E,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,GAChC,KAAK,EAAE,CAqDT;AAsID,wBAAgB,QAAQ,CACpB,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,YAAY,EACpB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,EAC3D,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,GACzE,KAAK,EAAE,CAoCT;AAuCD,wBAAgB,WAAW,CAAC,MAAM,EAAE,WAAW,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,GAAG,WAAW,EAAE,CAgBhF"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { range } from "lodash-es";
3
2
  import { BucketNames } from "@gooddata/sdk-ui";
4
- import { _compact, _isEmpty } from "@gooddata/util";
3
+ import { _compact, _isEmpty, _range } from "@gooddata/util";
5
4
  import { isBarChart, isBubbleChart, isComboChart, isHeatmap, isLineChart, isMekko, isOneOfTypes, isScatterPlot, isSupportingJoinedAttributeAxisName, unwrap, } from "../_util/common.js";
6
5
  import { getMekkoMeasures } from "../mekko/mekkoChartOptions.js";
7
6
  import { supportedDualAxesChartTypes } from "./chartCapabilities.js";
@@ -94,7 +93,7 @@ function getMekkoYAxes(dv, config, measureGroup) {
94
93
  {
95
94
  label: config.yLabel || (heightItem?.name ?? ""),
96
95
  format: config.yFormat || heightItem?.format,
97
- seriesIndices: range(measureGroup.items.length),
96
+ seriesIndices: _range(measureGroup.items.length),
98
97
  },
99
98
  ];
100
99
  }
@@ -144,7 +143,7 @@ function getDefaultYAxes(config, measureGroup, measureGroupItems, firstMeasureGr
144
143
  // Keep the first measure's metadata (e.g. format) and only override the title text.
145
144
  ...firstMeasureGroupItem,
146
145
  label: getDefaultYAxisLabel(config, measureGroup, measureGroupItems),
147
- seriesIndices: range(measureGroupItems.length),
146
+ seriesIndices: _range(measureGroupItems.length),
148
147
  },
149
148
  ];
150
149
  }
@@ -1 +1 @@
1
- {"version":3,"file":"chartDrilling.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartOptions/chartDrilling.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAErB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AA+DjF,wBAAgB,kBAAkB,CAC9B,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,GAAG,EAAE,EACb,cAAc,EAAE,gBAAgB,EAAE,EAClC,gBAAgB,EAAE,CAAC,mCAAmC,GAAG,SAAS,GAAG,IAAI,CAAC,EAAE,EAC5E,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EACxE,IAAI,EAAE,OAAO,GAAG,SAAS,EACzB,sBAAsB,GAAE,OAAe,EACvC,oBAAoB,GAAE,OAAe,GACtC,GAAG,CA0HL"}
1
+ {"version":3,"file":"chartDrilling.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_chartOptions/chartDrilling.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,KAAK,cAAc,EACnB,KAAK,gBAAgB,EAErB,KAAK,OAAO,EAGf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AA+DjF,wBAAgB,kBAAkB,CAC9B,EAAE,EAAE,cAAc,EAClB,MAAM,EAAE,GAAG,EAAE,EACb,cAAc,EAAE,gBAAgB,EAAE,EAClC,gBAAgB,EAAE,CAAC,mCAAmC,GAAG,SAAS,GAAG,IAAI,CAAC,EAAE,EAC5E,gBAAgB,EAAE,mCAAmC,GAAG,SAAS,GAAG,IAAI,EACxE,IAAI,EAAE,OAAO,GAAG,SAAS,EACzB,sBAAsB,GAAE,OAAe,EACvC,oBAAoB,GAAE,OAAe,GACtC,GAAG,CA0HL"}
@@ -1,6 +1,7 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { omit, without } from "lodash-es";
2
+ import { without } from "lodash-es";
3
3
  import { getDrillIntersection, isSomeHeaderPredicateMatched, } from "@gooddata/sdk-ui";
4
+ import { _omit } from "@gooddata/util";
4
5
  import { isBubbleChart, isHeatmap, isMekko, isOneOfTypes, isScatterPlot, isTreemap, unwrap, } from "../_util/common.js";
5
6
  import { findMeasureGroupInDimensions } from "../_util/executionResultHelper.js";
6
7
  import { multiMeasuresAlternatingTypes } from "./chartCapabilities.js";
@@ -14,7 +15,7 @@ function getViewBy(viewByAttribute, viewByIndex) {
14
15
  ...unwrap(viewByHeader),
15
16
  attribute: viewByAttribute,
16
17
  };
17
- viewByAttributeDescriptor = { attributeHeader: omit(viewByAttribute, "items") };
18
+ viewByAttributeDescriptor = { attributeHeader: _omit(viewByAttribute, "items") };
18
19
  }
19
20
  return {
20
21
  viewByHeader,
@@ -32,7 +33,7 @@ function getStackBy(stackByAttribute, stackByIndex) {
32
33
  ...unwrap(stackByHeader),
33
34
  attribute: stackByAttribute,
34
35
  };
35
- stackByAttributeDescriptor = { attributeHeader: omit(stackByAttribute, "items") };
36
+ stackByAttributeDescriptor = { attributeHeader: _omit(stackByAttribute, "items") };
36
37
  }
37
38
  return {
38
39
  stackByHeader,
@@ -25,12 +25,12 @@ import { ColorFactory } from "./colorFactory.js";
25
25
  import { setMeasuresToSecondaryAxis } from "./dualAxis.js";
26
26
  import { getCategoriesForTwoAttributes } from "./extendedStackingChartOptions.js";
27
27
  const isAreaChartStackingEnabled = (options) => {
28
- const { type, stacking, stackMeasures } = options;
28
+ const { type, stackMeasures } = options;
29
29
  if (!isAreaChart(type)) {
30
30
  return false;
31
31
  }
32
32
  if (stackMeasures === undefined) {
33
- return stacking || stacking === undefined;
33
+ return true;
34
34
  }
35
35
  return stackMeasures;
36
36
  };
@@ -1 +1 @@
1
- {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_util/helper.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAS9E,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAS7D,wBAAgB,oBAAoB,CAChC,EAAE,GAAE,cAA0B,EAC9B,MAAM,GAAE,GAGP,EACD,cAAc,GAAE,gBAAgB,EAAO,GACxC,aAAa,CAEf;AAED,MAAM,WAAW,IAAI;IACjB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;IAC5D,eAAe,EAAE,mCAAmC,CAAC;IACrD,qBAAqB,CAAC,EAAE,mCAAmC,CAAC;IAC5D,gBAAgB,EAAE,mCAAmC,CAAC;CACzD;AAED,wBAAgB,MAAM,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAiB/C;AAED,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAqBrE"}
1
+ {"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/_util/helper.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACnE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAS9E,OAAO,EAAE,KAAK,mCAAmC,EAAE,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAS7D,wBAAgB,oBAAoB,CAChC,EAAE,GAAE,cAA0B,EAC9B,MAAM,GAAE,GAEP,EACD,cAAc,GAAE,gBAAgB,EAAO,GACxC,aAAa,CAEf;AAED,MAAM,WAAW,IAAI;IACjB,YAAY,EAAE,uBAAuB,CAAC,oBAAoB,CAAC,CAAC;IAC5D,eAAe,EAAE,mCAAmC,CAAC;IACrD,qBAAqB,CAAC,EAAE,mCAAmC,CAAC;IAC5D,gBAAgB,EAAE,mCAAmC,CAAC;CACzD;AAED,wBAAgB,MAAM,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAiB/C;AAED,wBAAgB,4BAA4B,CAAC,EAAE,EAAE,cAAc,GAAG,IAAI,CAqBrE"}
@@ -7,7 +7,6 @@ import { findAttributeInDimension, findMeasureGroupInDimensions } from "./execut
7
7
  const defaultDv = recordedDataFacade(ReferenceRecordings.Scenarios.BarChart.SingleMeasureWithViewByAndStackBy);
8
8
  export function generateChartOptions(dv = defaultDv, config = {
9
9
  type: "column",
10
- stacking: false,
11
10
  }, drillableItems = []) {
12
11
  return getChartOptions(dv.dataView, config, drillableItems, "empty value");
13
12
  }
@@ -1,8 +1,8 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { set, unset } from "lodash-es";
2
+ import { unset } from "lodash-es";
3
3
  import { isMeasure, measureLocalId, } from "@gooddata/sdk-model";
4
4
  import { BucketNames, VisualizationTypes } from "@gooddata/sdk-ui";
5
- import { _cloneDeep } from "@gooddata/util";
5
+ import { _cloneDeep, _set } from "@gooddata/util";
6
6
  import { isSolidFill } from "../_chartOptions/patternFillOptions.js";
7
7
  import { isAreaChart, isColumnChart, isLineChart } from "../_util/common.js";
8
8
  export const CHART_ORDER = {
@@ -45,8 +45,8 @@ export function getComboChartSeries(config, measureGroup, series, dv) {
45
45
  const chartType = CHART_ORDER[types[index]]
46
46
  ? types[index]
47
47
  : DEFAULT_COMBO_CHART_TYPES[index];
48
- set(updatedSeries, [measureIndex, "type"], chartType);
49
- set(updatedSeries, [measureIndex, "zIndex"], CHART_ORDER[chartType]);
48
+ _set(updatedSeries, [measureIndex, "type"], chartType);
49
+ _set(updatedSeries, [measureIndex, "zIndex"], CHART_ORDER[chartType]);
50
50
  });
51
51
  });
52
52
  // Enforce solid color for any line series so that chart fill (pattern/outline) does not affect lines
@@ -60,13 +60,13 @@ export function getComboChartSeries(config, measureGroup, series, dv) {
60
60
  if (isLineChart(series.type)) {
61
61
  // For pattern/outline fills, base color is stored in borderColor; fallback to string color if present
62
62
  if (baseColor) {
63
- set(updatedSeries, [index, "color"], baseColor);
63
+ _set(updatedSeries, [index, "color"], baseColor);
64
64
  }
65
65
  }
66
66
  else if (isAreaChart(series.type) && !isSolidFill(config.chartFill)) {
67
- set(updatedSeries, [index, "color"], baseColor);
68
- set(updatedSeries, [index, "fillColor"], color);
69
- set(updatedSeries, [index, "borderColor"], baseColor);
67
+ _set(updatedSeries, [index, "color"], baseColor);
68
+ _set(updatedSeries, [index, "fillColor"], color);
69
+ _set(updatedSeries, [index, "borderColor"], baseColor);
70
70
  }
71
71
  });
72
72
  return updatedSeries;
@@ -1,10 +1,10 @@
1
1
  // (C) 2007-2026 GoodData Corporation
2
- import { merge } from "lodash-es";
2
+ import { _merge } from "@gooddata/util";
3
3
  import { alignChart, getResolvedPiePosition } from "../_chartCreators/helpers.js";
4
4
  import { highlightChartPoints } from "../_chartHighlighting/highlightPoints.js";
5
5
  import { getPieConfiguration } from "../pieChart/pieConfiguration.js";
6
6
  export function getDonutConfiguration(config) {
7
- return merge({}, getPieConfiguration(config), {
7
+ return _merge({}, getPieConfiguration(config), {
8
8
  chart: {
9
9
  events: {
10
10
  load() {
@@ -1 +1 @@
1
- {"version":3,"file":"heatmapColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/heatmap/heatmapColoring.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,KAAK,aAAa,EAAuD,MAAM,qBAAqB,CAAC;AAC9G,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAuB,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EACH,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAMzC,MAAM,8BAA8B,CAAC;AAYtC,qBAAa,oBAAqB,SAAQ,aAAa;IACnC,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAErD;IAED,SAAS,CAAC,qBAAqB,CAC3B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,gBAAgB,EAAE,GAAG,EACrB,iBAAiB,EAAE,GAAG,EACtB,EAAE,EAAE,cAAc,GACnB,iCAAiC,CAuBnC;IAED,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,kBAAkB;IAI1B,UAAmB,aAAa,CAC5B,YAAY,EAAE,aAAa,EAC3B,eAAe,EAAE,gBAAgB,EAAE,GACpC,MAAM,EAAE,CAkBV;IAED,OAAO,CAAC,4BAA4B;IAgBpC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,yBAAyB;CA2BpC"}
1
+ {"version":3,"file":"heatmapColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/heatmap/heatmapColoring.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,aAAa,EAAuD,MAAM,qBAAqB,CAAC;AAC9G,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,gBAAgB,EAAuB,MAAM,kBAAkB,CAAC;AAEnG,OAAO,EACH,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAMzC,MAAM,8BAA8B,CAAC;AAYtC,qBAAa,oBAAqB,SAAQ,aAAa;IACnC,eAAe,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAErD;IAED,SAAS,CAAC,qBAAqB,CAC3B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,gBAAgB,EAAE,GAAG,EACrB,iBAAiB,EAAE,GAAG,EACtB,EAAE,EAAE,cAAc,GACnB,iCAAiC,CAuBnC;IAED,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,kBAAkB;IAI1B,UAAmB,aAAa,CAC5B,YAAY,EAAE,aAAa,EAC3B,eAAe,EAAE,gBAAgB,EAAE,GACpC,MAAM,EAAE,CAkBV;IAED,OAAO,CAAC,4BAA4B;IAgBpC,OAAO,CAAC,eAAe;IASvB,OAAO,CAAC,yBAAyB;CA2BpC"}
@@ -1,10 +1,9 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { range } from "lodash-es";
3
2
  import { darken, mix, saturate } from "polished";
4
3
  import { isColorFromPalette, isRgbColor } from "@gooddata/sdk-model";
5
4
  import { isDarkTheme } from "@gooddata/sdk-ui-theme-provider";
6
5
  import { ColorStrategy, getColorByGuid, getColorFromMapping, getRgbStringFromRGB, isCustomPalette, normalizeColorToRGB, } from "@gooddata/sdk-ui-vis-commons";
7
- import { _isEqual } from "@gooddata/util";
6
+ import { _isEqual, _range } from "@gooddata/util";
8
7
  import { DEFAULT_HEATMAP_BLUE_BASE_COLOR, DEFAULT_HEATMAP_BLUE_COLOR, HEATMAP_BLUE_COLOR_PALETTE, } from "../_util/color.js";
9
8
  import { findMeasureGroupInDimensions } from "../_util/executionResultHelper.js";
10
9
  export class HeatmapColorStrategy extends ColorStrategy {
@@ -70,7 +69,7 @@ export class HeatmapColorStrategy extends ColorStrategy {
70
69
  }
71
70
  generatePalette(colorA, colorB, steps) {
72
71
  const extendedSteps = steps + 1;
73
- const generatedPaletteIncludingBg = range(extendedSteps).map((step) => normalizeColorToRGB(mix((1 / (extendedSteps - 1)) * step, colorA, colorB)));
72
+ const generatedPaletteIncludingBg = _range(extendedSteps).map((step) => normalizeColorToRGB(mix((1 / (extendedSteps - 1)) * step, colorA, colorB)));
74
73
  return generatedPaletteIncludingBg.slice(1); // Need to remove first color as it is the same as the background
75
74
  }
76
75
  getDefaultColorAssignment(colorPalette, headerItem) {
@@ -1 +1 @@
1
- {"version":3,"file":"sankeyChartColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/sankeyChart/sankeyChartColoring.ts"],"names":[],"mappings":"AAIA,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EACH,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAGzC,MAAM,8BAA8B,CAAC;AAGtC,qBAAa,wBAAyB,SAAQ,aAAa;IACvD,SAAS,CAAC,qBAAqB,CAC3B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,aAAa,EAAE,GAAG,EAClB,WAAW,EAAE,GAAG,EAChB,EAAE,EAAE,cAAc,GACnB,iCAAiC,CAqBnC;CACJ"}
1
+ {"version":3,"file":"sankeyChartColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/sankeyChart/sankeyChartColoring.ts"],"names":[],"mappings":"AAEA,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACtE,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,EACH,aAAa,EACb,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAGzC,MAAM,8BAA8B,CAAC;AAGtC,qBAAa,wBAAyB,SAAQ,aAAa;IACvD,SAAS,CAAC,qBAAqB,CAC3B,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,aAAa,EAAE,GAAG,EAClB,WAAW,EAAE,GAAG,EAChB,EAAE,EAAE,cAAc,GACnB,iCAAiC,CAqBnC;CACJ"}
@@ -1,11 +1,10 @@
1
1
  // (C) 2023-2026 GoodData Corporation
2
- import { uniqBy } from "lodash-es";
3
2
  import { ColorStrategy, getColorFromMapping, isValidMappedColor, } from "@gooddata/sdk-ui-vis-commons";
4
- import { _compact } from "@gooddata/util";
3
+ import { _compact, _uniqBy } from "@gooddata/util";
5
4
  export class SankeyChartColorStrategy extends ColorStrategy {
6
5
  createColorAssignment(colorPalette, colorMapping, fromAttribute, toAttribute, dv) {
7
6
  const attributeItems = _compact([...(fromAttribute?.items ?? []), ...(toAttribute?.items ?? [])]);
8
- const uniqAttributeItems = uniqBy(attributeItems, "attributeHeaderItem.uri");
7
+ const uniqAttributeItems = _uniqBy(attributeItems, "attributeHeaderItem.uri");
9
8
  const colorAssignment = uniqAttributeItems.map((headerItem, index) => {
10
9
  const mappedColor = getColorFromMapping(headerItem, colorMapping, dv);
11
10
  const color = mappedColor && isValidMappedColor(mappedColor, colorPalette)
@@ -1 +1 @@
1
- {"version":3,"file":"scatterPlotColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/scatterPlot/scatterPlotColoring.ts"],"names":[],"mappings":"AAKA,OAAO,EAGH,KAAK,aAAa,EAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAIzC,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,qBAAa,wBAAyB,SAAQ,oBAAoB;IAC9D,UAAmB,qBAAqB,CACpC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,eAAe,EAAE,GAAG,EACpB,gBAAgB,EAAE,GAAG,EACrB,EAAE,EAAE,cAAc,EAClB,YAAY,CAAC,EAAE,MAAM,GACtB,iCAAiC,CAuDnC;CACJ"}
1
+ {"version":3,"file":"scatterPlotColoring.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/scatterPlot/scatterPlotColoring.ts"],"names":[],"mappings":"AAGA,OAAO,EAGH,KAAK,aAAa,EAErB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,kBAAkB,CAAC;AAC9E,OAAO,EACH,KAAK,aAAa,EAClB,KAAK,iCAAiC,EAIzC,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,qBAAa,wBAAyB,SAAQ,oBAAoB;IAC9D,UAAmB,qBAAqB,CACpC,YAAY,EAAE,aAAa,EAC3B,YAAY,EAAE,aAAa,EAAE,GAAG,SAAS,EACzC,eAAe,EAAE,GAAG,EACpB,gBAAgB,EAAE,GAAG,EACrB,EAAE,EAAE,cAAc,EAClB,YAAY,CAAC,EAAE,MAAM,GACtB,iCAAiC,CAuDnC;CACJ"}
@@ -1,7 +1,6 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- // import { PointsChartColorStrategy } from "../_chartColoring/pointsChart.js";
3
- import { uniq } from "lodash-es";
4
2
  import { getAttributeColorAssignment, getColorFromMapping, isValidMappedColor, } from "@gooddata/sdk-ui-vis-commons";
3
+ import { _uniq } from "@gooddata/util";
5
4
  import { MeasureColorStrategy } from "../_chartColoring/measure.js";
6
5
  export class ScatterPlotColorStrategy extends MeasureColorStrategy {
7
6
  createColorAssignment(colorPalette, colorMapping, viewByAttribute, stackByAttribute, dv, clusterTitle) {
@@ -11,7 +10,7 @@ export class ScatterPlotColorStrategy extends MeasureColorStrategy {
11
10
  let colorAssignment;
12
11
  if (isClustering && isClusteringLoaded) {
13
12
  // oxlint-disable-next-line @typescript-eslint/require-array-sort-compare
14
- const uniqueClusters = uniq(dv.dataView.clusteringResult.clusters).sort();
13
+ const uniqueClusters = _uniq(dv.dataView.clusteringResult.clusters).sort();
15
14
  colorAssignment = uniqueClusters.map((clusterIndex, currentColorPaletteIndex) => {
16
15
  const clusterHeaderItem = {
17
16
  colorHeaderItem: {
@@ -1 +1 @@
1
- {"version":3,"file":"scatterPlotSeries.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/scatterPlot/scatterPlotSeries.ts"],"names":[],"mappings":"AAIA,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAEH,KAAK,cAAc,EAGtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,8BAA8B,CAAC;AAE3F,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAsDlF,wBAAgB,oBAAoB,CAChC,EAAE,EAAE,cAAc,EAClB,eAAe,EAAE;IAAE,KAAK,EAAE,sBAAsB,EAAE,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,EACvE,gBAAgB,EAAE;IAAE,KAAK,EAAE,sBAAsB,EAAE,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,EACxE,aAAa,EAAE,cAAc,EAC7B,gBAAgB,EAAE,MAAM,GACzB,iBAAiB,EAAE,CAwFrB"}
1
+ {"version":3,"file":"scatterPlotSeries.d.ts","sourceRoot":"","sources":["../../../../src/highcharts/chartTypes/scatterPlot/scatterPlotSeries.ts"],"names":[],"mappings":"AAEA,OAAO,EAAyB,KAAK,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AACzF,OAAO,EAEH,KAAK,cAAc,EAGtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,EAA0B,MAAM,8BAA8B,CAAC;AAG3F,OAAO,EAAmB,KAAK,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAsDlF,wBAAgB,oBAAoB,CAChC,EAAE,EAAE,cAAc,EAClB,eAAe,EAAE;IAAE,KAAK,EAAE,sBAAsB,EAAE,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,EACvE,gBAAgB,EAAE;IAAE,KAAK,EAAE,sBAAsB,EAAE,CAAA;CAAE,GAAG,SAAS,GAAG,IAAI,EACxE,aAAa,EAAE,cAAc,EAC7B,gBAAgB,EAAE,MAAM,GACzB,iBAAiB,EAAE,CAwFrB"}
@@ -1,7 +1,7 @@
1
1
  // (C) 2020-2026 GoodData Corporation
2
- import { debounce } from "lodash-es";
3
2
  import { BucketNames, getMappingHeaderFormattedName, } from "@gooddata/sdk-ui";
4
3
  import { valueWithEmptyHandling } from "@gooddata/sdk-ui-vis-commons";
4
+ import { _debounce } from "@gooddata/util";
5
5
  import { parseValue } from "../_util/common.js";
6
6
  function _decreaseOpacityOfOtherSegmentsOnMouseOver() {
7
7
  const segmentName = this?.["segmentName"];
@@ -11,7 +11,7 @@ function _decreaseOpacityOfOtherSegmentsOnMouseOver() {
11
11
  dp.graphic?.attr({ opacity: 0.3 });
12
12
  });
13
13
  }
14
- const decreaseOpacityOfOtherSegmentsOnMouseOver = debounce(_decreaseOpacityOfOtherSegmentsOnMouseOver, 50);
14
+ const decreaseOpacityOfOtherSegmentsOnMouseOver = _debounce(_decreaseOpacityOfOtherSegmentsOnMouseOver, 50);
15
15
  function _resetOpacityOfOtherSegmentsOnMouseOut() {
16
16
  const segmentName = this?.["segmentName"];
17
17
  const allDataPoints = this?.series?.data;
@@ -20,7 +20,7 @@ function _resetOpacityOfOtherSegmentsOnMouseOut() {
20
20
  dp.graphic?.attr({ opacity: 1 });
21
21
  });
22
22
  }
23
- const resetOpacityOfOtherSegmentsOnMouseOut = debounce(_resetOpacityOfOtherSegmentsOnMouseOut, 50);
23
+ const resetOpacityOfOtherSegmentsOnMouseOut = _debounce(_resetOpacityOfOtherSegmentsOnMouseOut, 50);
24
24
  function _decreaseOpacityOfOtherClustersOnMouseOver() {
25
25
  const clusterName = this?.["clusterName"];
26
26
  const allDataPoints = this?.series?.data;
@@ -29,7 +29,7 @@ function _decreaseOpacityOfOtherClustersOnMouseOver() {
29
29
  dp.graphic?.attr({ opacity: 0.3 });
30
30
  });
31
31
  }
32
- const decreaseOpacityOfOtherClustersOnMouseOver = debounce(_decreaseOpacityOfOtherClustersOnMouseOver, 50);
32
+ const decreaseOpacityOfOtherClustersOnMouseOver = _debounce(_decreaseOpacityOfOtherClustersOnMouseOver, 50);
33
33
  function _resetOpacityOfOtherClustersOnMouseOut() {
34
34
  const clusterName = this?.["clusterName"];
35
35
  const allDataPoints = this?.series?.data;
@@ -38,7 +38,7 @@ function _resetOpacityOfOtherClustersOnMouseOut() {
38
38
  dp.graphic?.attr({ opacity: 1 });
39
39
  });
40
40
  }
41
- const resetOpacityOfOtherClustersOnMouseOut = debounce(_resetOpacityOfOtherClustersOnMouseOut, 50);
41
+ const resetOpacityOfOtherClustersOnMouseOut = _debounce(_resetOpacityOfOtherClustersOnMouseOut, 50);
42
42
  export function getScatterPlotSeries(dv, viewByAttribute, stackByAttribute, colorStrategy, emptyHeaderTitle) {
43
43
  const primaryMeasuresBucketEmpty = dv.def().isBucketEmpty(BucketNames.MEASURES);
44
44
  const secondaryMeasuresBucketEmpty = dv.def().isBucketEmpty(BucketNames.SECONDARY_MEASURES);
@@ -155,7 +155,8 @@ export interface IChartConfig {
155
155
  * @remarks
156
156
  * Applicable for Area, Bar, Column and Combo charts which have more than one measure.
157
157
  *
158
- * This option has preference over the `stackMeasures` option.
158
+ * When `true`, this option takes precedence over the `stackMeasures` option. `false` doesn't turn off
159
+ * stacking from `stackMeasures` or a `stackBy` attribute.
159
160
  */
160
161
  stackMeasuresToPercent?: boolean;
161
162
  /**
@@ -245,11 +246,6 @@ export interface IChartConfig {
245
246
  * Note: currently, this property only supports headlines.
246
247
  */
247
248
  comparison?: IComparison;
248
- /**
249
- * Do not use this. Instead use stackMeasures and/or stackMeasuresToPercent
250
- * @internal
251
- */
252
- stacking?: boolean;
253
249
  /**
254
250
  * Options passed directly to Highcharts constructor (ChartOptions type)
255
251
  *