axidio-styleguide-library1-v2 0.0.964 → 0.0.965
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.
|
@@ -9128,6 +9128,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
9128
9128
|
return y(0);
|
|
9129
9129
|
})
|
|
9130
9130
|
.attr('width', function (d) {
|
|
9131
|
+
// For grouped bar charts in zoom-in view, increase bar width for both bars (shipped and planned)
|
|
9132
|
+
if (subgroups.length > 1 && !self.isZoomedOut) {
|
|
9133
|
+
return xSubgroup.bandwidth() * 1.2;
|
|
9134
|
+
}
|
|
9135
|
+
// Default logic for other chart types
|
|
9131
9136
|
if (self.chartConfiguration.isDrilldownChart) {
|
|
9132
9137
|
data.map((indiv) => {
|
|
9133
9138
|
if (indiv.name == d.name) {
|