axidio-styleguide-library1-v2 0.5.28 → 0.5.29

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.
@@ -8089,7 +8089,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8089
8089
  .filter((d) => !/\d{2,4}[-\/]/.test(d))
8090
8090
  .append('text')
8091
8091
  .attr('class', 'lib-xaxis-labels-texts-drilldown')
8092
- .attr('y', !isria ? 30 : 2)
8092
+ .attr('y', 30)
8093
8093
  .attr('fill', 'var(--chart-text-color)')
8094
8094
  .attr('x', (d) => (self.chartData.data.length > 8 && !self.isZoomedOut) ? 1 : 0)
8095
8095
  .text((d) => {
@@ -8115,7 +8115,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8115
8115
  return chartHasExtraBottom ? shortTickLengthBg : shortTickLengthBg + 10;
8116
8116
  }
8117
8117
  // Default/fallback logic
8118
- let baseY = self.isHeaderVisible ? shortTickLengthBg + 25 : shortTickLengthBg;
8118
+ const isria = this.customChartConfiguration.isRia;
8119
+ let baseY = self.isHeaderVisible && !isria ? shortTickLengthBg + 25 : shortTickLengthBg;
8119
8120
  if (subgroups.length > 1 && !metaData.xLabel &&
8120
8121
  (/\d{2,4}[-\/]\d{2}[-\/]\d{2,4}/.test(d) || /\d{2,4}[-\/]\d{2,4}/.test(d))) {
8121
8122
  baseY = self.isHeaderVisible ? shortTickLengthBg + 15 : shortTickLengthBg + 25;