axidio-styleguide-library1-v2 0.6.58 → 0.6.59

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.
@@ -8217,14 +8217,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8217
8217
  if (dateRangeRegex.test(d.trim())) {
8218
8218
  return d.trim().replace(dateRangeRegex, (m, d1, d2) => `${d1} - ${d2}`);
8219
8219
  }
8220
- const isria = this.customChartConfiguration.isRia;
8221
- if (isria && self.isZoomedOut && data.length > 8) {
8222
- const first = d.substring(0, d.indexOf(' '));
8223
- const second = d.substring(d.indexOf(' ') + 1).trim();
8224
- return `${first}\n${second}`;
8225
- }
8226
8220
  // Handle splitting of multi-part labels
8227
- if (subgroups.length > 1 && !self.isZoomedOut && data.length > 8 &&
8221
+ if (subgroups.length > 1 && !self.isZoomedOut && data.length >= 8 &&
8228
8222
  d.indexOf(' ') > -1 && (labelInfo.isDate || labelInfo.isWeek)) {
8229
8223
  const first = d.substring(0, d.indexOf(' '));
8230
8224
  const second = d.substring(d.indexOf(' ') + 1).trim();