axidio-styleguide-library1-v2 0.0.986 → 0.0.987
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.
|
@@ -9026,11 +9026,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9026
9026
|
});
|
|
9027
9027
|
if (isGroupedWithExactDateLabels) {
|
|
9028
9028
|
// Increase bar width for both zoom-in and zoom-out views
|
|
9029
|
-
xSubgroup.range([0, x.bandwidth() * 0.
|
|
9029
|
+
xSubgroup.range([0, x.bandwidth() * 0.7]);
|
|
9030
9030
|
}
|
|
9031
9031
|
else if (subgroups.length > 1 && !this.isZoomedOut) {
|
|
9032
|
-
// For grouped bar charts in zoom-in view,
|
|
9033
|
-
xSubgroup.range([0, x.bandwidth()]);
|
|
9032
|
+
// For grouped bar charts in zoom-in view, use default width
|
|
9033
|
+
xSubgroup.range([0, x.bandwidth() * 0.5]);
|
|
9034
9034
|
}
|
|
9035
9035
|
else if (subgroups.length === 1 && !this.isZoomedOut) {
|
|
9036
9036
|
// For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
|