axidio-styleguide-library1-v2 0.0.835 → 0.0.837

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.
@@ -8948,7 +8948,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8948
8948
  .enter()
8949
8949
  .append('g')
8950
8950
  .attr('transform', function (d) {
8951
- return 'translate(' + x(d.name) + ',0)';
8951
+ let shift = (self.chartData.data.length > 8 && self.isZoomedOut) ? 0 : -50;
8952
+ return 'translate(' + (x(d.name) + shift) + ',0)';
8952
8953
  });
8953
8954
  state
8954
8955
  .selectAll('rect')