axidio-styleguide-library1-v2 0.0.811 → 0.0.813

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.
@@ -8769,6 +8769,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8769
8769
  .selectAll('g.x1.axis1 g.tick text')
8770
8770
  .attr('class', 'lib-xaxis-labels-texts-drilldown')
8771
8771
  .attr('y', short_tick_length_bg)
8772
+ .attr('x', 0) // Keep at center
8773
+ .attr('text-anchor', 'middle')
8772
8774
  .text(function (d) {
8773
8775
  var isValueToBeIgnored = false;
8774
8776
  data.map((indiv) => {
@@ -8797,6 +8799,8 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8797
8799
  .append('text')
8798
8800
  .attr('class', 'lib-xaxis-labels-texts-drilldown')
8799
8801
  .attr('y', long_tick_length_bg)
8802
+ .attr('x', 0) // Keep at center
8803
+ .attr('text-anchor', 'middle')
8800
8804
  .attr('fill', 'var(--chart-text-color)')
8801
8805
  .text(function (d) {
8802
8806
  if (d.trim().indexOf(' ') > -1) {
@@ -9057,7 +9061,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
9057
9061
  }
9058
9062
  return self.isZoomedOut
9059
9063
  ? xSubgroup.bandwidth()
9060
- : xSubgroup.bandwidth() * 0.5;
9064
+ : xSubgroup.bandwidth();
9061
9065
  })
9062
9066
  .attr('height', function (d) {
9063
9067
  if (d.value == -1) {