axidio-styleguide-library1-v2 0.1.96 → 0.1.98
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.
|
@@ -8603,7 +8603,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8603
8603
|
})
|
|
8604
8604
|
.attr('x', function (d) {
|
|
8605
8605
|
if (self.chartData.data.length > 8 && !self.isZoomedOut) {
|
|
8606
|
-
return
|
|
8606
|
+
return 1; // Move first line text slightly to the left in zoom-in view for better alignment
|
|
8607
8607
|
}
|
|
8608
8608
|
return 0; // Default position
|
|
8609
8609
|
})
|
|
@@ -8939,9 +8939,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8939
8939
|
return y(0);
|
|
8940
8940
|
})
|
|
8941
8941
|
.attr('width', function (d) {
|
|
8942
|
-
// For grouped bar charts in zoom-in view,
|
|
8942
|
+
// For grouped bar charts in zoom-in view, set bar width to 50 for maximum thickness
|
|
8943
8943
|
if (subgroups.length > 1 && !self.isZoomedOut) {
|
|
8944
|
-
return
|
|
8944
|
+
return 50;
|
|
8945
8945
|
}
|
|
8946
8946
|
// For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
|
|
8947
8947
|
if (subgroups.length === 1 && !self.isZoomedOut) {
|