axidio-styleguide-library1-v2 0.0.802 → 0.0.804

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.
@@ -9026,9 +9026,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9026
9026
  }
9027
9027
  }
9028
9028
  });
9029
- return tempScale.bandwidth();
9029
+ return self.isZoomedOut
9030
+ ? tempScale.bandwidth() * 0.5
9031
+ : tempScale.bandwidth();
9030
9032
  }
9031
- return self.isZoomedOut ? xSubgroup.bandwidth() : xSubgroup.bandwidth() * 0.5;
9033
+ return self.isZoomedOut
9034
+ ? xSubgroup.bandwidth() * 0.5
9035
+ : xSubgroup.bandwidth();
9032
9036
  })
9033
9037
  .attr('height', function (d) {
9034
9038
  if (d.value == -1) {
@@ -9337,7 +9341,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9337
9341
  .style('fill', function (d) {
9338
9342
  return metaData.colors[d.key];
9339
9343
  })
9340
- .attr('width', self.isZoomedOut ? xSubgroup.bandwidth() : xSubgroup.bandwidth() * 0.5)
9344
+ .attr('width', self.isZoomedOut
9345
+ ? xSubgroup.bandwidth() * 0.5
9346
+ : xSubgroup.bandwidth())
9341
9347
  .text(function (d) {
9342
9348
  return d.value;
9343
9349
  });