axidio-styleguide-library1-v2 0.0.787 → 0.0.788

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.
@@ -8892,14 +8892,15 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8892
8892
  }
8893
8893
  var xSubgroup = d3.scaleBand().domain(subgroups);
8894
8894
  if (this.chartConfiguration.isMultiChartGridLine == undefined) {
8895
- xSubgroup.range([0, x.bandwidth()]).padding(0.5);
8895
+ xSubgroup.range([0, x.bandwidth()])
8896
+ .padding(this.isZoomedOut ? 0.1 : 0.3);
8896
8897
  }
8897
8898
  else {
8898
8899
  /**
8899
8900
  * used to make grouped bars with lesser width as we are not using padding for width
8900
8901
  * used by weekly charts
8901
8902
  */
8902
- xSubgroup.range([0, x.bandwidth()]).padding(0.5);
8903
+ xSubgroup.range([0, x.bandwidth()]);
8903
8904
  }
8904
8905
  // if (this.chartConfiguration.isDrilldownChart) {
8905
8906
  // }
@@ -9028,7 +9029,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9028
9029
  });
9029
9030
  return tempScale.bandwidth();
9030
9031
  }
9031
- return xSubgroup.bandwidth() * 0.6;
9032
+ const baseWidth = xSubgroup.bandwidth();
9033
+ return self.isZoomedOut ? baseWidth : baseWidth * 0.7;
9032
9034
  })
9033
9035
  .attr('height', function (d) {
9034
9036
  if (d.value == -1) {