axidio-styleguide-library1-v2 0.0.975 → 0.0.976

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.
@@ -9008,16 +9008,19 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9008
9008
  });
9009
9009
  }
9010
9010
  var xSubgroup = d3.scaleBand().domain(subgroups);
9011
- if (!this.isZoomedOut && subgroups.length > 1) {
9011
+ if (subgroups.length > 1 && !this.isZoomedOut) {
9012
9012
  // For grouped bar charts in zoom-in view, reduce padding between bars
9013
9013
  xSubgroup.range([0, x.bandwidth()]);
9014
9014
  }
9015
- else if (!this.isZoomedOut && subgroups.length === 1) {
9015
+ else if (subgroups.length === 1 && !this.isZoomedOut) {
9016
9016
  // For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
9017
9017
  xSubgroup.range([0, 80]);
9018
9018
  }
9019
+ else if (this.chartConfiguration.isMultiChartGridLine == undefined) {
9020
+ xSubgroup.range([0, x.bandwidth()]);
9021
+ }
9019
9022
  else {
9020
- // All other cases (including zoomed-out), use full bandwidth
9023
+ // used to make grouped bars with lesser width as we are not using padding for width
9021
9024
  xSubgroup.range([0, x.bandwidth()]);
9022
9025
  }
9023
9026
  // if (this.chartConfiguration.isDrilldownChart) {
@@ -9157,13 +9160,13 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9157
9160
  return self.isZoomedOut
9158
9161
  ? tempScale.bandwidth()
9159
9162
  : self.chartData.data.length && self.chartData.data.length > 8
9160
- ? tempScale.bandwidth() * 0.5
9163
+ ? tempScale.bandwidth()
9161
9164
  : tempScale.bandwidth();
9162
9165
  }
9163
9166
  return self.isZoomedOut
9164
9167
  ? tempScale.bandwidth()
9165
9168
  : self.chartData.data.length && self.chartData.data.length > 8
9166
- ? tempScale.bandwidth() * 0.5
9169
+ ? tempScale.bandwidth()
9167
9170
  : tempScale.bandwidth();
9168
9171
  })
9169
9172
  .attr('height', function (d) {