axidio-styleguide-library1-v2 0.3.67 → 0.3.68
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) {
|
|
@@ -8671,6 +8672,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
8671
8672
|
margin.top -
|
|
8672
8673
|
margin.bottom -
|
|
8673
8674
|
130;
|
|
8675
|
+
if (is2K) {
|
|
8676
|
+
height -= 60; // reduce a bit more for 2K
|
|
8677
|
+
}
|
|
8674
8678
|
}
|
|
8675
8679
|
if (this.chartConfiguration.isHeaderVisible) {
|
|
8676
8680
|
height =
|