axidio-styleguide-library1-v2 0.0.902 → 0.0.904

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.
@@ -8807,10 +8807,14 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8807
8807
  })
8808
8808
  .text(function (d) {
8809
8809
  var isValueToBeIgnored = false;
8810
- if ((isMobile && !self.isHeaderVisible) || (isria && self.chartData.data.length > 8)) {
8810
+ if (isMobile && !self.isHeaderVisible) {
8811
8811
  let firstPart = d.split(/[\s\-]+/)[0];
8812
8812
  return firstPart.substring(0, 3).toLowerCase();
8813
8813
  }
8814
+ if (isria && self.chartData.data.length > 8) {
8815
+ let firstPart = d.split(/[\s\-]+/)[0];
8816
+ return firstPart.substring(0, 4).toLowerCase();
8817
+ }
8814
8818
  data.map((indiv) => {
8815
8819
  if (indiv.name.toLowerCase() == d.trim().toLowerCase() &&
8816
8820
  indiv[metaData.keyList[0]] == -1) {
@@ -8853,7 +8857,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8853
8857
  });
8854
8858
  }
8855
8859
  }
8856
- if ((isMobile && !this.isHeaderVisible) || (isria && self.chartData.data.length > 8)) {
8860
+ if (isMobile && !this.isHeaderVisible) {
8857
8861
  svg
8858
8862
  .selectAll('g.x1.axis1 g.tick text')
8859
8863
  .classed('mobile-xaxis-override', true);