axidio-styleguide-library1-v2 0.1.7 → 0.1.8
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.
|
@@ -9146,7 +9146,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9146
9146
|
.attr('width', function (d) {
|
|
9147
9147
|
// For grouped bar charts in zoom-in view, slightly increase bar width for both bars (shipped and planned)
|
|
9148
9148
|
if (subgroups.length > 1 && !self.isZoomedOut) {
|
|
9149
|
-
return xSubgroup.bandwidth() * 0.
|
|
9149
|
+
return xSubgroup.bandwidth() * 0.2;
|
|
9150
9150
|
}
|
|
9151
9151
|
// For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
|
|
9152
9152
|
if (subgroups.length === 1 && !self.isZoomedOut) {
|
|
@@ -9162,7 +9162,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9162
9162
|
// Increase bar width a bit in zoom-in view
|
|
9163
9163
|
let reducedBarWidth = 60;
|
|
9164
9164
|
if (!self.isZoomedOut) {
|
|
9165
|
-
reducedBarWidth =
|
|
9165
|
+
reducedBarWidth = 80;
|
|
9166
9166
|
}
|
|
9167
9167
|
if (self.chartData.data.length == 1) {
|
|
9168
9168
|
if (Object.keys(self.chartData.data[0]).length == 2) {
|