axidio-styleguide-library1-v2 0.5.39 → 0.5.41

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.
@@ -8036,7 +8036,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8036
8036
  .classed('mobile-xaxis-override', false) // Remove vertical class
8037
8037
  .attr('transform', 'rotate(0)') // Remove any rotation
8038
8038
  .attr('text-anchor', 'middle') // Center align
8039
- .attr('y', 20) // Push down a bit
8039
+ .attr('y', !isria ? 20 : null) // Push down a bit
8040
8040
  .attr('dx', '0') // Reset any x offset
8041
8041
  .attr('dy', '0'); // Reset any y offset
8042
8042
  }
@@ -8116,11 +8116,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8116
8116
  // Default/fallback logic
8117
8117
  const isria = this.customChartConfiguration.isRia;
8118
8118
  let baseY = self.isHeaderVisible && !isria ? shortTickLengthBg + 25 : shortTickLengthBg;
8119
- if (subgroups.length > 1 && !metaData.xLabel &&
8119
+ if (subgroups.length > 1 && !metaData.xLabel && !isria &&
8120
8120
  (/\d{2,4}[-\/]\d{2}[-\/]\d{2,4}/.test(d) || /\d{2,4}[-\/]\d{2,4}/.test(d))) {
8121
8121
  baseY = self.isHeaderVisible ? shortTickLengthBg + 15 : shortTickLengthBg + 25;
8122
8122
  }
8123
- if (/\d{2,4}[-\/]\d{2,4}/.test(d) && d.indexOf(' ') > -1) {
8123
+ if (/\d{2,4}[-\/]\d{2,4}/.test(d) && d.indexOf(' ') > -1 && !isria) {
8124
8124
  baseY += 4;
8125
8125
  }
8126
8126
  if (self.chartConfiguration.isFullScreen && subgroups.length > 1) {
@@ -8672,7 +8672,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8672
8672
  if (metaData.xLabel) {
8673
8673
  const isAcronym = this.isLabelAcronym(metaData.xLabel);
8674
8674
  const xPosition = isria
8675
- ? (height + margin.top + margin.bottom - 20)
8675
+ ? (height + margin.top + margin.bottom)
8676
8676
  : (height + margin.top + margin.bottom + 40);
8677
8677
  svg.append('text')
8678
8678
  .attr('class', this.getXLabelClass(self))