axidio-styleguide-library1-v2 0.4.93 → 0.4.95

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.
@@ -8049,14 +8049,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8049
8049
  }
8050
8050
  }
8051
8051
  if (!isria && !self.isZoomedOut && subgroups.length > 1 && data.length > 8 && x.bandwidth() > 100) {
8052
- const reducedBarWidth = 100;
8053
- const offset = (x.bandwidth() - reducedBarWidth) / 2;
8054
- const centerOffset = offset + (reducedBarWidth / 2);
8055
- svg.selectAll('g.x1.axis1 g.tick')
8056
- .attr('transform', function (d) {
8057
- const adjustedX = x(d) + centerOffset;
8058
- return `translate(${adjustedX},0)`;
8059
- });
8052
+ // const reducedBarWidth = 100;
8053
+ // const offset = (x.bandwidth() - reducedBarWidth) / 2;
8054
+ // const centerOffset = offset + (reducedBarWidth / 2);
8055
+ // svg.selectAll('g.x1.axis1 g.tick text')
8056
+ // .attr('x', centerOffset - (x.bandwidth() / 2));
8057
+ svg.selectAll('g.x1.axis1 g.tick text');
8058
+ // .attr('x', -20);
8060
8059
  }
8061
8060
  }
8062
8061
  applyXLabelsOnSameLine(svg, subgroups, data, metaData, self, shortTickLengthBg, isMobile, isria) {