axidio-styleguide-library1-v2 0.0.907 → 0.0.908
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.
|
@@ -7290,7 +7290,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7290
7290
|
: this.chartData.data.length * (isMobile ? 15 : 25);
|
|
7291
7291
|
}
|
|
7292
7292
|
if (this.chartData.data.length > 8 && !this.isZoomedOut) {
|
|
7293
|
-
width = this.chartData.data.length * (isMobile ? 60 :
|
|
7293
|
+
width = this.chartData.data.length * (isMobile ? 60 : 80);
|
|
7294
7294
|
}
|
|
7295
7295
|
// Fullscreen and drilldown adjustments
|
|
7296
7296
|
if (this.chartConfiguration.isFullScreen != undefined && this.chartConfiguration.isFullScreen) {
|
|
@@ -7299,7 +7299,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7299
7299
|
: containerHeight;
|
|
7300
7300
|
}
|
|
7301
7301
|
if (this.chartConfiguration.isDrilldownChart) {
|
|
7302
|
-
height = containerHeight - margin.top - margin.bottom - (isMobile ? 60 :
|
|
7302
|
+
height = containerHeight - margin.top - margin.bottom - (isMobile ? 60 : 80);
|
|
7303
7303
|
}
|
|
7304
7304
|
// ...existing code...
|
|
7305
7305
|
/**
|
|
@@ -7412,10 +7412,6 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
|
|
|
7412
7412
|
}
|
|
7413
7413
|
// Calculate bar width for mobile to avoid overlap
|
|
7414
7414
|
// ...barWidth is now calculated above, remove duplicate...
|
|
7415
|
-
let maxBarWidth = 70;
|
|
7416
|
-
let totalBarSpace = data.length * maxBarWidth;
|
|
7417
|
-
let availableWidth = width - rightSvgWidth - leftAndRightSpaces * 2;
|
|
7418
|
-
let xRangeEnd = Math.max(availableWidth, totalBarSpace);
|
|
7419
7415
|
var xScale = d3
|
|
7420
7416
|
.scaleBand()
|
|
7421
7417
|
.rangeRound([
|