axidio-styleguide-library1-v2 0.0.828 → 0.0.830

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.
@@ -8697,8 +8697,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8697
8697
  svg
8698
8698
  .selectAll('g.x1.axis1 g.tick text')
8699
8699
  .attr('class', 'lib-xaxis-labels-texts-drilldown')
8700
- .style('fill', 'var(--chart-text-color)')
8701
- .attr('y', this.isHeaderVisible ? 45 : 0);
8700
+ .style('fill', 'var(--chart-text-color)');
8702
8701
  // .attr('y', function () {
8703
8702
  // if (alternate_text) {
8704
8703
  // alternate_text = false;
@@ -8762,10 +8761,11 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8762
8761
  svg
8763
8762
  .selectAll('g.x1.axis1 g.tick text')
8764
8763
  .attr('class', 'lib-xaxis-labels-texts-drilldown')
8765
- .attr('y', short_tick_length_bg)
8764
+ .style('font-size', '18px')
8765
+ .attr('y', this.isHeaderVisible ? short_tick_length_bg + 40 : short_tick_length_bg)
8766
8766
  .text(function (d) {
8767
8767
  var isValueToBeIgnored = false;
8768
- if (isMobile) {
8768
+ if (isMobile && !self.isHeaderVisible) {
8769
8769
  let firstPart = d.split(/[\s\-]+/)[0];
8770
8770
  return firstPart.substring(0, 3).toLowerCase();
8771
8771
  }