axidio-styleguide-library1-v2 0.4.90 → 0.4.92
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.
|
@@ -8341,7 +8341,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8341
8341
|
const keys = Object.keys(indiv).filter((temp, i) => i !== 0);
|
|
8342
8342
|
calculatedScale = d3.scaleBand().domain(keys).range([0, x.bandwidth()]);
|
|
8343
8343
|
if (x.bandwidth() > 100) {
|
|
8344
|
-
const reducedBarWidth = self.isZoomedOut ? 60 :
|
|
8344
|
+
const reducedBarWidth = self.isZoomedOut ? 60 : 80;
|
|
8345
8345
|
const offset = (x.bandwidth() - reducedBarWidth) / 2;
|
|
8346
8346
|
calculatedScale.range([offset, x.bandwidth() - offset]);
|
|
8347
8347
|
}
|