axidio-styleguide-library1-v2 0.6.19 → 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.
@@ -7908,7 +7908,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7908
7908
  // Dynamically adjust Y translation for mobile
7909
7909
  let translateY = height;
7910
7910
  if (isMobile) {
7911
- translateY = height + 5; // Add extra space at the top for mobile
7911
+ translateY = height + 10; // Add extra space at the top for mobile
7912
7912
  }
7913
7913
  svg.append('g')
7914
7914
  .attr('class', 'x1 axis1')
@@ -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) {
@@ -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;