axidio-styleguide-library1-v2 0.3.67 → 0.3.69

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.
@@ -8626,6 +8626,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8626
8626
  const subgroupsCount = (this.chartData.metaData.keyList || []).length;
8627
8627
  const isMobile = window.innerWidth < 576;
8628
8628
  const isTablet = window.innerWidth >= 576 && window.innerWidth < 992;
8629
+ const is2K = window.innerWidth >= 2000 && window.innerWidth < 3840;
8629
8630
  // Minimum width per bar group based on device and number of subgroups
8630
8631
  const minWidthPerGroup = (() => {
8631
8632
  if (subgroupsCount > 2) {
@@ -8679,6 +8680,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8679
8680
  margin.bottom -
8680
8681
  100;
8681
8682
  }
8683
+ if (is2K) {
8684
+ height -= 60; // reduce a bit more for 2K
8685
+ }
8682
8686
  return { width, height };
8683
8687
  }
8684
8688
  createChartContainers(chartContainer, margin, height, rightSvgWidth, self, width) {