axidio-styleguide-library1-v2 0.0.786 → 0.0.788
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.
|
@@ -8892,7 +8892,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8892
8892
|
}
|
|
8893
8893
|
var xSubgroup = d3.scaleBand().domain(subgroups);
|
|
8894
8894
|
if (this.chartConfiguration.isMultiChartGridLine == undefined) {
|
|
8895
|
-
xSubgroup.range([0, x.bandwidth()])
|
|
8895
|
+
xSubgroup.range([0, x.bandwidth()])
|
|
8896
|
+
.padding(this.isZoomedOut ? 0.1 : 0.3);
|
|
8896
8897
|
}
|
|
8897
8898
|
else {
|
|
8898
8899
|
/**
|
|
@@ -9028,7 +9029,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9028
9029
|
});
|
|
9029
9030
|
return tempScale.bandwidth();
|
|
9030
9031
|
}
|
|
9031
|
-
|
|
9032
|
+
const baseWidth = xSubgroup.bandwidth();
|
|
9033
|
+
return self.isZoomedOut ? baseWidth : baseWidth * 0.7;
|
|
9032
9034
|
})
|
|
9033
9035
|
.attr('height', function (d) {
|
|
9034
9036
|
if (d.value == -1) {
|