axidio-styleguide-library1-v2 0.5.24 → 0.5.25
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.
|
@@ -8816,6 +8816,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8816
8816
|
const isMobile = window.innerWidth < 576;
|
|
8817
8817
|
const isTablet = window.innerWidth >= 576 && window.innerWidth < 992;
|
|
8818
8818
|
const is2K = window.innerWidth >= 2000 && window.innerWidth < 3840;
|
|
8819
|
+
const isria = this.customChartConfiguration.isRia;
|
|
8819
8820
|
// Minimum width per bar group based on device and number of subgroups
|
|
8820
8821
|
const minWidthPerGroup = (() => {
|
|
8821
8822
|
if (subgroupsCount > 2) {
|
|
@@ -8868,8 +8869,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8868
8869
|
margin.top -
|
|
8869
8870
|
margin.bottom -
|
|
8870
8871
|
100;
|
|
8871
|
-
if (is2K && this.isHeaderVisible) {
|
|
8872
|
-
height -=
|
|
8872
|
+
if (is2K && this.isHeaderVisible && !isria) {
|
|
8873
|
+
height -= 55; // reduce a bit more for 2K
|
|
8873
8874
|
}
|
|
8874
8875
|
}
|
|
8875
8876
|
return { width, height };
|