axidio-styleguide-library1-v2 0.1.83 → 0.1.85

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.
@@ -8319,10 +8319,10 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8319
8319
  if (this.chartData.data.length > 8 && !this.isZoomedOut) {
8320
8320
  if (this.chartData.dropdownData2 &&
8321
8321
  width < this.chartData.data.length * 250) {
8322
- width = this.chartData.data.length * 350;
8322
+ width = this.chartData.data.length * 250;
8323
8323
  }
8324
8324
  else
8325
- width = this.chartData.data.length * 220;
8325
+ width = this.chartData.data.length * 560;
8326
8326
  }
8327
8327
  // if (this.chartData.data.length > 8) {
8328
8328
  // width = this.chartData.data.length * 140;
@@ -8938,10 +8938,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8938
8938
  if (subgroups.length > 1 && !self.isZoomedOut) {
8939
8939
  return xSubgroup.bandwidth() * 0.25;
8940
8940
  }
8941
- // For single-bar (non-grouped) charts in zoom-in view, set bar width to 120
8941
+ // For single-bar (non-grouped) charts in zoom-in view, set bar width to 80
8942
8942
  if (subgroups.length === 1 && !self.isZoomedOut) {
8943
- return 120;
8943
+ return 80;
8944
8944
  }
8945
+ let tempScale = d3.scaleBand().domain([]).range([0, 0]);
8945
8946
  // Default logic for other chart types
8946
8947
  if (self.chartConfiguration.isDrilldownChart) {
8947
8948
  data.map((indiv) => {