axidio-styleguide-library1-v2 0.1.77 → 0.1.79

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.
@@ -8923,15 +8923,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8923
8923
  return xSubgroup(d.key);
8924
8924
  })
8925
8925
  .attr('y', function (d) {
8926
- if (d.value == -1) {
8926
+ if (d.value <= 0 || d.value === -1)
8927
8927
  return y(0);
8928
- }
8929
- if (d.value >= 0) {
8930
- const barHeight = height - y(d.value);
8931
- const minHeight = self.chartConfiguration.defaultBarHeight || 2;
8932
- return barHeight < minHeight ? y(0) - minHeight : y(d.value);
8933
- }
8934
- return y(0);
8928
+ const barHeight = height - y(d.value);
8929
+ const minHeight = self.chartConfiguration.defaultBarHeight || 2;
8930
+ return barHeight < minHeight ? y(0) - minHeight : y(d.value);
8935
8931
  })
8936
8932
  .attr('width', function (d) {
8937
8933
  // For grouped bar charts in zoom-in view, slightly increase bar width for both bars (shipped and planned)