axidio-styleguide-library1-v2 0.5.43 → 0.5.45
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.
|
@@ -7814,10 +7814,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7814
7814
|
.domain(data.map((d) => d.name.toLowerCase()));
|
|
7815
7815
|
}
|
|
7816
7816
|
else {
|
|
7817
|
+
const paddingValue = (isria && self.chartData.data.length >= 8) ? 0.1 : 0.3;
|
|
7817
7818
|
x = d3.scaleBand()
|
|
7818
7819
|
.domain(groups)
|
|
7819
7820
|
.range([LEFT_AND_RIGHT_SPACES, width - RIGHT_SVG_WIDTH - LEFT_AND_RIGHT_SPACES])
|
|
7820
|
-
.padding([
|
|
7821
|
+
.padding([paddingValue]);
|
|
7821
7822
|
}
|
|
7822
7823
|
const xScaleFromOrigin = d3.scaleBand()
|
|
7823
7824
|
.domain(groups)
|