axidio-styleguide-library1-v2 0.4.87 → 0.4.88
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.
|
@@ -7936,6 +7936,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7936
7936
|
: 'lib-xaxis-labels-texts-drilldown')
|
|
7937
7937
|
.style('fill', 'var(--chart-text-color)')
|
|
7938
7938
|
.attr('y', yOffset || null);
|
|
7939
|
+
if (!isria && self.chartData.data.length > 11 && !self.isZoomedOut) {
|
|
7940
|
+
svg.selectAll('g.x1.axis1 g.tick text')
|
|
7941
|
+
.attr('x', -20);
|
|
7942
|
+
}
|
|
7939
7943
|
}
|
|
7940
7944
|
else {
|
|
7941
7945
|
// Bigger ticks for weekly charts
|
|
@@ -7994,10 +7998,6 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7994
7998
|
svg.selectAll('g.x1.axis1 g.tick text')
|
|
7995
7999
|
.attr('x', -20);
|
|
7996
8000
|
}
|
|
7997
|
-
if (!isria && self.chartData.data.length > 11 && !self.isZoomedOut && subgroups.length === 1) {
|
|
7998
|
-
svg.selectAll('g.x1.axis1 g.tick text')
|
|
7999
|
-
.attr('x', -20);
|
|
8000
|
-
}
|
|
8001
8001
|
// ✅ Tablet View — Rotate if text > 10 characters
|
|
8002
8002
|
if (isTablet) {
|
|
8003
8003
|
const textNodes = svg.selectAll('g.x1.axis1 g.tick text');
|