axidio-styleguide-library1-v2 0.7.32 → 0.7.34

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.
@@ -8360,8 +8360,12 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8360
8360
  xAxisLabels.each(function (d) {
8361
8361
  const isDateLabel = /^(\d{2,4}[-\/])?\d{2,4}[-\/]\d{2,4}$/.test(d.trim());
8362
8362
  const isWeekLabel = /week|wk|w\d+/i.test(d);
8363
- if (subgroups.length > 1 && self.isZoomedOut && data.length <= 6 && isDateLabel && !isWeekLabel) {
8364
- d3.select(this).style('writing-mode', 'sideways-lr');
8363
+ const is601x962 = Math.min(window.innerWidth, window.innerHeight) === 601 &&
8364
+ Math.max(window.innerWidth, window.innerHeight) === 962;
8365
+ if (subgroups.length > 1 && self.isZoomedOut && data.length == 6 && isDateLabel && !isWeekLabel && !self.isHeaderVisible && is601x962) {
8366
+ d3.select(this)
8367
+ .style('writing-mode', 'sideways-lr')
8368
+ .attr('y', 18);
8365
8369
  }
8366
8370
  });
8367
8371
  // Add second line for non-date labels on desktop
@@ -9020,7 +9024,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9020
9024
  .attr('y1', yZero)
9021
9025
  .attr('y2', yZero)
9022
9026
  .style('stroke-dasharray', '5 5')
9023
- .style('stroke', this.chartData.targetLineData.color);
9027
+ .style('stroke', 'var(--chart-domain-color, #000000)');
9024
9028
  // Add target label
9025
9029
  const dataTypeTemp = metaData.dataType || '';
9026
9030
  const targetLineName = this.chartData.targetLineData.targetName || 'target';