axidio-styleguide-library1-v2 0.4.84 → 0.4.86

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.
@@ -7921,7 +7921,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7921
7921
  const yOffset = (() => {
7922
7922
  // Single bar in zoom-in view
7923
7923
  if (subgroups.length === 1 && !self.isZoomedOut) {
7924
- return 15;
7924
+ return 5;
7925
7925
  }
7926
7926
  // Multiple bars without xLabel
7927
7927
  if (subgroups.length > 1 && !metaData.xLabel) {
@@ -7994,6 +7994,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7994
7994
  svg.selectAll('g.x1.axis1 g.tick text')
7995
7995
  .attr('x', -20);
7996
7996
  }
7997
+ if (!isria && self.chartData.data.length > 11 && !self.isZoomedOut) {
7998
+ svg.selectAll('g.x1.axis1 g.tick text')
7999
+ .attr('x', -20);
8000
+ }
7997
8001
  // ✅ Tablet View — Rotate if text > 10 characters
7998
8002
  if (isTablet) {
7999
8003
  const textNodes = svg.selectAll('g.x1.axis1 g.tick text');