axidio-styleguide-library1-v2 0.1.97 → 0.1.99
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
|
})
|
|
@@ -8691,7 +8691,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8691
8691
|
.attr('fill', 'var(--chart-text-color)')
|
|
8692
8692
|
.attr('x', function (d) {
|
|
8693
8693
|
if (self.chartData.data.length > 8 && !self.isZoomedOut) {
|
|
8694
|
-
return
|
|
8694
|
+
return 1; // Move text slightly to the left
|
|
8695
8695
|
}
|
|
8696
8696
|
return 0; // Default position
|
|
8697
8697
|
})
|