axidio-styleguide-library1-v2 0.0.920 → 0.0.921

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.
@@ -9030,9 +9030,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9030
9030
  let keys = Object.keys(indiv).filter((temp, i) => i != 0);
9031
9031
  tempScale = d3.scaleBand().domain(keys).range([0, x.bandwidth()]);
9032
9032
  if (x.bandwidth() > 100) {
9033
- // Grouped chart: increase bar width to 90% of slot
9033
+ // Grouped chart: decrease bar width to 70% of slot
9034
9034
  if (subgroups.length > 1) {
9035
- const groupedBarWidth = x.bandwidth();
9035
+ const groupedBarWidth = x.bandwidth() * 0.5;
9036
9036
  const offset = (x.bandwidth() - groupedBarWidth) / 2;
9037
9037
  tempScale.range([offset, x.bandwidth() - offset]);
9038
9038
  }
@@ -9086,9 +9086,9 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9086
9086
  let keys = Object.keys(indiv).filter((temp, i) => i != 0);
9087
9087
  tempScale = d3.scaleBand().domain(keys).range([0, x.bandwidth()]);
9088
9088
  if (x.bandwidth() > 100) {
9089
- // Grouped chart: increase bar width to 90% of slot
9089
+ // Grouped chart: decrease bar width to 70% of slot
9090
9090
  if (subgroups.length > 1) {
9091
- const groupedBarWidth = x.bandwidth();
9091
+ const groupedBarWidth = x.bandwidth() * 0.5;
9092
9092
  const offset = (x.bandwidth() - groupedBarWidth) / 2;
9093
9093
  tempScale.range([offset, x.bandwidth() - offset]);
9094
9094
  }