axidio-styleguide-library1-v2 0.3.94 → 0.3.96
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.
|
@@ -7785,8 +7785,18 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7785
7785
|
// .attr('transform', `translate(-35,${translateY})`)
|
|
7786
7786
|
.call(d3.axisBottom(x))
|
|
7787
7787
|
// .call((g) => g.select('.domain').remove());
|
|
7788
|
-
.call((g) => { if (!isria)
|
|
7789
|
-
|
|
7788
|
+
// .call((g) => { if (!isria) g.select('.domain').remove(); })
|
|
7789
|
+
.call(g => {
|
|
7790
|
+
// RIA + single subgroup → remove domain
|
|
7791
|
+
if (isria && subgroups.length === 1) {
|
|
7792
|
+
g.select('.domain').remove();
|
|
7793
|
+
return;
|
|
7794
|
+
}
|
|
7795
|
+
// Default behavior
|
|
7796
|
+
if (!isria) {
|
|
7797
|
+
g.select('.domain').remove();
|
|
7798
|
+
}
|
|
7799
|
+
})
|
|
7790
7800
|
.call((g) => {
|
|
7791
7801
|
// Move only the axis line (domain) to the left
|
|
7792
7802
|
g.select('.domain').attr('transform', 'translate(-35,0)');
|