axidio-styleguide-library1-v2 0.0.878 → 0.0.880

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.
@@ -7571,7 +7571,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7571
7571
  ? xScale.bandwidth()
7572
7572
  : self.chartConfiguration.isDrilldownChart &&
7573
7573
  self.chartData.data.length <= 3
7574
- ? 140
7574
+ ? 70
7575
7575
  : xScale.bandwidth() * 0.8;
7576
7576
  })
7577
7577
  // .style('cursor', 'pointer');
@@ -9069,9 +9069,17 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9069
9069
  }
9070
9070
  }
9071
9071
  });
9072
- return tempScale.bandwidth() * 0.5;
9073
- }
9074
- return xSubgroup.bandwidth();
9072
+ return self.isZoomedOut
9073
+ ? tempScale.bandwidth()
9074
+ : self.chartData.data.length && self.chartData.data.length > 8
9075
+ ? tempScale.bandwidth() * 0.5
9076
+ : tempScale.bandwidth();
9077
+ }
9078
+ return self.isZoomedOut
9079
+ ? tempScale.bandwidth()
9080
+ : self.chartData.data.length && self.chartData.data.length > 8
9081
+ ? tempScale.bandwidth() * 0.5
9082
+ : tempScale.bandwidth();
9075
9083
  })
9076
9084
  .attr('height', function (d) {
9077
9085
  if (d.value == -1) {