axidio-styleguide-library1-v2 0.0.970 → 0.0.972
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.
|
@@ -9116,6 +9116,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9116
9116
|
if (subgroups.length > 1 && !self.isZoomedOut) {
|
|
9117
9117
|
return xSubgroup.bandwidth() * 0.5;
|
|
9118
9118
|
}
|
|
9119
|
+
// For single-bar (non-grouped) charts in zoom-in view, set bar width to 60
|
|
9120
|
+
if (subgroups.length === 1 && !self.isZoomedOut) {
|
|
9121
|
+
return 60;
|
|
9122
|
+
}
|
|
9119
9123
|
// Default logic for other chart types
|
|
9120
9124
|
if (self.chartConfiguration.isDrilldownChart) {
|
|
9121
9125
|
data.map((indiv) => {
|