axidio-styleguide-library1-v2 0.6.74 → 0.6.75
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.
- package/esm2022/lib/horizontal-bars-with-scroll-zoom/horizontal-bars-with-scroll-zoom.component.mjs +4 -4
- package/esm2022/lib/horizontal-grouped-bar-with-scroll-zoom/horizontal-grouped-bar-with-scroll-zoom.component.mjs +3 -3
- package/fesm2022/axidio-styleguide-library1-v2.mjs +5 -5
- package/fesm2022/axidio-styleguide-library1-v2.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -6744,8 +6744,8 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
6744
6744
|
barPadding = 30;
|
|
6745
6745
|
}
|
|
6746
6746
|
else {
|
|
6747
|
-
barWidth =
|
|
6748
|
-
barPadding =
|
|
6747
|
+
barWidth = 25;
|
|
6748
|
+
barPadding = 25;
|
|
6749
6749
|
}
|
|
6750
6750
|
}
|
|
6751
6751
|
else {
|
|
@@ -7529,7 +7529,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7529
7529
|
svg
|
|
7530
7530
|
.append('line')
|
|
7531
7531
|
.attr('x1', 0)
|
|
7532
|
-
.attr('x2', dimensions.
|
|
7532
|
+
.attr('x2', dimensions.width)
|
|
7533
7533
|
.attr('y1', yZero)
|
|
7534
7534
|
.attr('y2', yZero)
|
|
7535
7535
|
.style('stroke-dasharray', '5 5')
|
|
@@ -7814,7 +7814,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7814
7814
|
// more than one subgroup so grouped bars don't get congested.
|
|
7815
7815
|
// On desktop: enable scrolling when there are many groups or
|
|
7816
7816
|
// multiple subgroups (keeps previous behavior).
|
|
7817
|
-
if ((isMobile
|
|
7817
|
+
if ((isMobile) && subgroupsCount > 1) {
|
|
7818
7818
|
innerContainer.style('overflow-x', 'auto');
|
|
7819
7819
|
innerContainer.classed('scroll-enabled', true);
|
|
7820
7820
|
}
|
|
@@ -8034,7 +8034,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8034
8034
|
if (!isDateString && text.length > 10) {
|
|
8035
8035
|
const trimmed = text.slice(0, 9) + '…';
|
|
8036
8036
|
textNodes
|
|
8037
|
-
.style('font-size', '
|
|
8037
|
+
.style('font-size', '8px');
|
|
8038
8038
|
// .text(trimmed)
|
|
8039
8039
|
}
|
|
8040
8040
|
});
|