axidio-styleguide-library1-v2 0.5.47 → 0.5.49

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.
@@ -7807,10 +7807,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7807
7807
  const groups = d3.map(data, (d) => d.name).keys();
7808
7808
  // X-axis scale configuration
7809
7809
  if (this.chartConfiguration.isMultiChartGridLine !== undefined) {
7810
+ const paddingValue = (isria && subgroups.length === 1) ? 0.1 : 0.5;
7810
7811
  x = d3.scaleBand()
7811
7812
  .rangeRound([width, 0])
7812
7813
  .align(0.5)
7813
- .padding([0.5])
7814
+ .padding([paddingValue])
7814
7815
  .domain(data.map((d) => d.name.toLowerCase()));
7815
7816
  }
7816
7817
  else {
@@ -8858,10 +8859,12 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8858
8859
  : parseInt(verticalstackedcontainer.style('height'));
8859
8860
  }
8860
8861
  if (this.chartConfiguration.isDrilldownChart && !this.isHeaderVisible) {
8862
+ const bottomDeduction = isria ? 50 : 130;
8861
8863
  height =
8862
8864
  parseInt(verticalstackedcontainer.style('height')) -
8863
8865
  margin.top -
8864
- margin.bottom;
8866
+ margin.bottom -
8867
+ bottomDeduction;
8865
8868
  }
8866
8869
  if (this.chartConfiguration.isHeaderVisible) {
8867
8870
  height =