axidio-styleguide-library1-v2 0.3.91 → 0.3.93
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.
|
@@ -7790,6 +7790,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7790
7790
|
.call((g) => {
|
|
7791
7791
|
// Move only the axis line (domain) to the left
|
|
7792
7792
|
g.select('.domain').attr('transform', 'translate(-35,0)');
|
|
7793
|
+
})
|
|
7794
|
+
.call((g) => {
|
|
7795
|
+
// Increase spacing between axis and labels
|
|
7796
|
+
if (isria && subgroups.length === 1) {
|
|
7797
|
+
g.selectAll('.tick text')
|
|
7798
|
+
.attr('dy', '1em'); // Default is '0.71em', increase for more space
|
|
7799
|
+
}
|
|
7793
7800
|
});
|
|
7794
7801
|
svg.selectAll('g.x1.axis1 g.tick line').remove();
|
|
7795
7802
|
const yOffset = subgroups.length > 1 && !metaData.xLabel ? 32 : 0;
|