axidio-styleguide-library1-v2 0.3.98 → 0.4.1
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.
|
@@ -7788,7 +7788,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7788
7788
|
// .call((g) => { if (!isria) g.select('.domain').remove(); })
|
|
7789
7789
|
.call(g => {
|
|
7790
7790
|
// RIA + single subgroup → remove domain
|
|
7791
|
-
if (isria && (subgroups.length > 1 &&
|
|
7791
|
+
if (isria && (subgroups.length > 1 && self.chartData.data.length === 1)) {
|
|
7792
7792
|
g.select('.domain').remove();
|
|
7793
7793
|
return;
|
|
7794
7794
|
}
|
|
@@ -7803,7 +7803,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7803
7803
|
})
|
|
7804
7804
|
.call((g) => {
|
|
7805
7805
|
// Increase spacing between axis and labels
|
|
7806
|
-
if (isria && subgroups.length === 1) {
|
|
7806
|
+
if (isria && (subgroups.length === 1 && self.chartData.data.length > 1)) {
|
|
7807
7807
|
g.selectAll('.tick text')
|
|
7808
7808
|
.attr('dy', '1em'); // Default is '0.71em', increase for more space
|
|
7809
7809
|
}
|