axidio-styleguide-library1-v2 0.4.93 → 0.4.94
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.
|
@@ -8052,11 +8052,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8052
8052
|
const reducedBarWidth = 100;
|
|
8053
8053
|
const offset = (x.bandwidth() - reducedBarWidth) / 2;
|
|
8054
8054
|
const centerOffset = offset + (reducedBarWidth / 2);
|
|
8055
|
-
svg.selectAll('g.x1.axis1 g.tick')
|
|
8056
|
-
.attr('
|
|
8057
|
-
const adjustedX = x(d) + centerOffset;
|
|
8058
|
-
return `translate(${adjustedX},0)`;
|
|
8059
|
-
});
|
|
8055
|
+
svg.selectAll('g.x1.axis1 g.tick text')
|
|
8056
|
+
.attr('x', centerOffset - (x.bandwidth() / 2));
|
|
8060
8057
|
}
|
|
8061
8058
|
}
|
|
8062
8059
|
applyXLabelsOnSameLine(svg, subgroups, data, metaData, self, shortTickLengthBg, isMobile, isria) {
|