axidio-styleguide-library1-v2 0.4.7 → 0.4.9

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.
@@ -7788,7 +7788,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7788
7788
  // .call((g) => { if (!isria) g.select('.domain').remove(); })
7789
7789
  .call(g => {
7790
7790
  // RIA + single subgroup → remove domain
7791
- if (isria && (subgroups.length > 1 && self.chartData.data.length === 1)) {
7791
+ if (isria && subgroups.length === 1) {
7792
7792
  g.select('.domain').remove();
7793
7793
  return;
7794
7794
  }
@@ -7803,7 +7803,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7803
7803
  })
7804
7804
  .call((g) => {
7805
7805
  // Increase spacing between axis and labels
7806
- if (isria && (subgroups.length === 1 || self.chartData.data.length > 1)) {
7806
+ if (isria && subgroups.length === 1) {
7807
7807
  g.selectAll('.tick text')
7808
7808
  .attr('dy', '1em'); // Default is '0.71em', increase for more space
7809
7809
  }
@@ -7866,11 +7866,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7866
7866
  this.applyXLabelsOnSameLine(svg, subgroups, data, metaData, self, shortTickLengthBg, isMobile, isria);
7867
7867
  }
7868
7868
  // Mobile override for RIA
7869
- if (isria && self.chartData.data.length >= 3) {
7869
+ if (isria && self.chartData.data.length > 8) {
7870
7870
  svg.selectAll('g.x1.axis1 g.tick text')
7871
7871
  .classed('mobile-xaxis-override', true)
7872
- // .text((d: string) => d.substring(0, 3))
7873
- .text((d) => d.substring(0, 4).toLowerCase())
7872
+ .text((d) => d.substring(0, 3))
7874
7873
  .style('font-size', '12px')
7875
7874
  .attr('y', 5)
7876
7875
  .attr('x', 5)
@@ -8502,7 +8501,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8502
8501
  .attr('transform', 'rotate(-90)')
8503
8502
  .attr('y', yPosition)
8504
8503
  .attr('x', 0 - height / 2)
8505
- .attr('dy', '0.5em')
8504
+ .attr('dy', '1em')
8506
8505
  .style('text-anchor', 'middle')
8507
8506
  .attr('fill', 'var(--chart-text-color)');
8508
8507
  if (this.chartConfiguration.isMultiChartGridLine === undefined) {