axidio-styleguide-library1-v2 0.0.903 → 0.0.905
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 +3 -2
- package/esm2022/lib/horizontal-grouped-bar-with-scroll-zoom/horizontal-grouped-bar-with-scroll-zoom.component.mjs +5 -5
- package/fesm2022/axidio-styleguide-library1-v2.mjs +6 -5
- package/fesm2022/axidio-styleguide-library1-v2.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7378,7 +7378,8 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7378
7378
|
innerContainer.style('overflow-x', 'auto');
|
|
7379
7379
|
}
|
|
7380
7380
|
else {
|
|
7381
|
-
|
|
7381
|
+
// Decrease minimum bar width for normal (zoom-in) view
|
|
7382
|
+
barWidth = Math.max(24, (width - rightSvgWidth - leftAndRightSpaces * 2) / data.length);
|
|
7382
7383
|
barPadding = 0;
|
|
7383
7384
|
requiredSvgWidth = width - rightSvgWidth;
|
|
7384
7385
|
}
|
|
@@ -8515,7 +8516,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8515
8516
|
const isMobile = window.innerWidth < 576;
|
|
8516
8517
|
const isTablet = window.innerWidth >= 576 && window.innerWidth < 992;
|
|
8517
8518
|
const isDesktop = window.innerWidth >= 992;
|
|
8518
|
-
|
|
8519
|
+
let isria = this.customChartConfiguration.isRia;
|
|
8519
8520
|
var x;
|
|
8520
8521
|
var alternate_text = false;
|
|
8521
8522
|
var short_tick_length = 4;
|
|
@@ -8807,7 +8808,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8807
8808
|
})
|
|
8808
8809
|
.text(function (d) {
|
|
8809
8810
|
var isValueToBeIgnored = false;
|
|
8810
|
-
if (
|
|
8811
|
+
if (isMobile && !self.isHeaderVisible) {
|
|
8811
8812
|
let firstPart = d.split(/[\s\-]+/)[0];
|
|
8812
8813
|
return firstPart.substring(0, 3).toLowerCase();
|
|
8813
8814
|
}
|
|
@@ -8829,7 +8830,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8829
8830
|
}
|
|
8830
8831
|
return d.toLowerCase();
|
|
8831
8832
|
});
|
|
8832
|
-
if (!isMobile
|
|
8833
|
+
if (!isMobile) {
|
|
8833
8834
|
svg
|
|
8834
8835
|
.selectAll('g.x1.axis1 g.tick')
|
|
8835
8836
|
.filter(function (d) {
|
|
@@ -8853,7 +8854,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8853
8854
|
});
|
|
8854
8855
|
}
|
|
8855
8856
|
}
|
|
8856
|
-
if (
|
|
8857
|
+
if (isMobile && !this.isHeaderVisible) {
|
|
8857
8858
|
svg
|
|
8858
8859
|
.selectAll('g.x1.axis1 g.tick text')
|
|
8859
8860
|
.classed('mobile-xaxis-override', true);
|