axidio-styleguide-library1-v2 0.3.93 → 0.3.94

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.
@@ -7797,6 +7797,16 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7797
7797
  g.selectAll('.tick text')
7798
7798
  .attr('dy', '1em'); // Default is '0.71em', increase for more space
7799
7799
  }
7800
+ })
7801
+ .call((g) => {
7802
+ // Remove only the last tick
7803
+ if (isria && subgroups.length === 1) {
7804
+ const ticks = g.selectAll('.tick');
7805
+ if (ticks.size() > 0) {
7806
+ // d3.select(ticks.nodes()[ticks.size() - 1]).remove();
7807
+ d3.select(ticks.nodes()[ticks.size() - 1]).select('line').remove();
7808
+ }
7809
+ }
7800
7810
  });
7801
7811
  svg.selectAll('g.x1.axis1 g.tick line').remove();
7802
7812
  const yOffset = subgroups.length > 1 && !metaData.xLabel ? 32 : 0;