axidio-styleguide-library1-v2 0.6.20 → 0.6.21

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.
@@ -8130,7 +8130,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8130
8130
  // For grouped bar charts with many bars and xLabel present
8131
8131
  if (subgroups.length > 1 && data.length > 8 && metaData.xLabel) {
8132
8132
  const isDateLabel = /\d{2,4}[-\/]/.test(d);
8133
- return isDateLabel ? shortTickLengthBg + 14 : shortTickLengthBg;
8133
+ return isDateLabel ? shortTickLengthBg + 10 : shortTickLengthBg;
8134
8134
  }
8135
8135
  // For grouped bar charts with many bars and NO xLabel
8136
8136
  if (subgroups.length > 1 && data.length > 8 && !metaData.xLabel) {
@@ -8138,9 +8138,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8138
8138
  if (self.chartConfiguration.isFullScreen) {
8139
8139
  return shortTickLengthBg + 2;
8140
8140
  }
8141
- return chartHasExtraBottom ? shortTickLengthBg : shortTickLengthBg + 5;
8141
+ return chartHasExtraBottom ? shortTickLengthBg : shortTickLengthBg + 10;
8142
8142
  }
8143
- // Default/fallback logics
8143
+ // Default/fallback logic
8144
8144
  const isria = this.customChartConfiguration.isRia;
8145
8145
  let baseY = self.isHeaderVisible && !isria ? shortTickLengthBg + 25 : shortTickLengthBg;
8146
8146
  if (subgroups.length > 1 && !metaData.xLabel && !isria &&
@@ -8826,7 +8826,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8826
8826
  text.append('tspan')
8827
8827
  .text(line)
8828
8828
  .attr('x', 0)
8829
- .attr('dy', idx === 0 ? '0.5em' : '1em');
8829
+ .attr('dy', idx === 0 ? '0em' : '1em');
8830
8830
  });
8831
8831
  }
8832
8832
  else {
@@ -8840,7 +8840,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8840
8840
  .style('fill', 'var(--chart-text-color)')
8841
8841
  .attr('transform', null);
8842
8842
  svg.select('.x-axis')
8843
- .attr('transform', `translate(0, ${height - margin.bottom - 10})`);
8843
+ .attr('transform', `translate(0, ${height - margin.bottom + 10})`);
8844
8844
  }
8845
8845
  calculateChartDimensions(chartContainer, verticalstackedcontainer, margin, self) {
8846
8846
  let width = parseInt(chartContainer.style('width')) - margin.left - margin.right;