axidio-styleguide-library1-v2 0.3.89 → 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.
|
@@ -7780,11 +7780,17 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7780
7780
|
translateY = height + 10; // Add extra space at the top for mobile
|
|
7781
7781
|
}
|
|
7782
7782
|
svg.append('g')
|
|
7783
|
-
.attr('class', 'x1 axis1')
|
|
7783
|
+
.attr('class', 'x1 axis1')
|
|
7784
|
+
.attr('transform', `translate(0,${translateY})`)
|
|
7785
|
+
// .attr('transform', `translate(-35,${translateY})`)
|
|
7784
7786
|
.call(d3.axisBottom(x))
|
|
7785
7787
|
// .call((g) => g.select('.domain').remove());
|
|
7786
7788
|
.call((g) => { if (!isria)
|
|
7787
|
-
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
|
+
});
|
|
7788
7794
|
svg.selectAll('g.x1.axis1 g.tick line').remove();
|
|
7789
7795
|
const yOffset = subgroups.length > 1 && !metaData.xLabel ? 32 : 0;
|
|
7790
7796
|
svg.selectAll('g.x1.axis1 g.tick text')
|