axidio-styleguide-library1-v2 0.3.90 → 0.3.91

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.
@@ -7781,12 +7781,16 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7781
7781
  }
7782
7782
  svg.append('g')
7783
7783
  .attr('class', 'x1 axis1')
7784
- // .attr('transform', `translate(0,${translateY})`)
7785
- .attr('transform', `translate(-35,${translateY})`)
7784
+ .attr('transform', `translate(0,${translateY})`)
7785
+ // .attr('transform', `translate(-35,${translateY})`)
7786
7786
  .call(d3.axisBottom(x))
7787
7787
  // .call((g) => g.select('.domain').remove());
7788
7788
  .call((g) => { if (!isria)
7789
- g.select('.domain').remove(); });
7789
+ g.select('.domain').remove(); })
7790
+ .call((g) => {
7791
+ // Move only the axis line (domain) to the left
7792
+ g.select('.domain').attr('transform', 'translate(-35,0)');
7793
+ });
7790
7794
  svg.selectAll('g.x1.axis1 g.tick line').remove();
7791
7795
  const yOffset = subgroups.length > 1 && !metaData.xLabel ? 32 : 0;
7792
7796
  svg.selectAll('g.x1.axis1 g.tick text')