axidio-styleguide-library1-v2 0.2.76 → 0.2.77
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.
|
@@ -7957,10 +7957,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7957
7957
|
// Mobile handling: keep date labels intact for single-series charts (do not trim)
|
|
7958
7958
|
if (isMobile) {
|
|
7959
7959
|
const isDateLabel = /\d{2,4}[-\/]\d{1,2}[-\/]\d{1,4}/.test(d) || !isNaN(Date.parse(d));
|
|
7960
|
-
if (isDateLabel && subgroups && subgroups.length < 3) {
|
|
7961
|
-
|
|
7962
|
-
|
|
7963
|
-
}
|
|
7960
|
+
// if (isDateLabel && subgroups && subgroups.length < 3) {
|
|
7961
|
+
// // For single-series charts on mobile, show full date labels (no trimming)
|
|
7962
|
+
// return d;
|
|
7963
|
+
// }
|
|
7964
7964
|
// If header is hidden (compact mobile), trim non-date labels as before
|
|
7965
7965
|
if (!self.isHeaderVisible) {
|
|
7966
7966
|
const firstPart = d.split(/[\s\-]+/)[0];
|