axidio-styleguide-library1-v2 0.2.87 → 0.2.88

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.
@@ -7889,7 +7889,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7889
7889
  // If there are many groups on mobile/tablet AND this is a grouped chart,
7890
7890
  // rotate labels to sideways to avoid overlapping and make them readable.
7891
7891
  // Do NOT rotate for single-bar charts on tablet/mobile.
7892
- if (groupsCount > 3 && subgroups && subgroups.length > 1) {
7892
+ if (groupsCount > 3 && subgroups && subgroups.length < 3) {
7893
7893
  svg.selectAll('g.x1.axis1 g.tick text')
7894
7894
  .style('writing-mode', 'sideways-lr')
7895
7895
  .style('text-anchor', 'middle')