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.
@@ -7378,7 +7378,8 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7378
7378
  innerContainer.style('overflow-x', 'auto');
7379
7379
  }
7380
7380
  else {
7381
- barWidth = Math.max(40, (width - rightSvgWidth - leftAndRightSpaces * 2) / data.length);
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) {