axidio-styleguide-library1-v2 0.2.95 → 0.2.96

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.
@@ -7793,7 +7793,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7793
7793
  // Dynamically adjust Y translation for mobile
7794
7794
  let translateY = height;
7795
7795
  if (isMobile) {
7796
- translateY = height + 26; // Add extra space at the top for mobile
7796
+ translateY = height + 24; // Add extra space at the top for mobile
7797
7797
  }
7798
7798
  svg.append('g')
7799
7799
  .attr('class', 'x1 axis1')
@@ -7959,10 +7959,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7959
7959
  return { isDate: dateMatch, isWeek: weekMatch };
7960
7960
  };
7961
7961
  const labelInfo = hasDateAndTime(d);
7962
- // Apply date-week trimming only for mobile and tablet screens
7962
+ // When label contains both date and week, show it as-is (no trimming)
7963
7963
  if (isSmallScreen && labelInfo.isDate && labelInfo.isWeek) {
7964
- const datePart = d.match(/\d{2,4}[-\/]\d{1,2}[-\/]\d{1,4}/);
7965
- return datePart ? datePart[0] : d;
7964
+ return d;
7966
7965
  }
7967
7966
  // Mobile handling: keep date labels intact for single-series charts (do not trim)
7968
7967
  if (isMobile) {