axidio-styleguide-library1-v2 0.0.904 → 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 +1 -5
- package/fesm2022/axidio-styleguide-library1-v2.mjs +2 -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
|
}
|
|
@@ -8811,10 +8812,6 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8811
8812
|
let firstPart = d.split(/[\s\-]+/)[0];
|
|
8812
8813
|
return firstPart.substring(0, 3).toLowerCase();
|
|
8813
8814
|
}
|
|
8814
|
-
if (isria && self.chartData.data.length > 8) {
|
|
8815
|
-
let firstPart = d.split(/[\s\-]+/)[0];
|
|
8816
|
-
return firstPart.substring(0, 4).toLowerCase();
|
|
8817
|
-
}
|
|
8818
8815
|
data.map((indiv) => {
|
|
8819
8816
|
if (indiv.name.toLowerCase() == d.trim().toLowerCase() &&
|
|
8820
8817
|
indiv[metaData.keyList[0]] == -1) {
|