axidio-styleguide-library1-v2 0.1.62 → 0.1.63

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.
@@ -7684,6 +7684,9 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7684
7684
  .call(yAxis)
7685
7685
  .selectAll('text')
7686
7686
  .style('fill', 'var(--chart-text-color)');
7687
+ svg.selectAll('.domain')
7688
+ .style('stroke', 'var(--chart-axis-color)')
7689
+ .style('stroke-width', '1px');
7687
7690
  }
7688
7691
  else if (this.chartConfiguration.isDrilldownChart) {
7689
7692
  svg
@@ -7700,6 +7703,9 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7700
7703
  .call(yAxis)
7701
7704
  .selectAll('text')
7702
7705
  .style('fill', 'var(--chart-text-color)');
7706
+ svgYAxisLeft.selectAll('.domain')
7707
+ .style('stroke', 'var(--chart-axis-color)')
7708
+ .style('stroke-width', '1px');
7703
7709
  svgYAxisRight
7704
7710
  .append('g')
7705
7711
  .attr('class', 'lib-yaxis-labels-texts-drilldown yaxis-dashed')
@@ -7707,6 +7713,9 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7707
7713
  .attr('transform', 'translate(0,0)')
7708
7714
  .call(yAxis)
7709
7715
  .style('display', 'none');
7716
+ svgYAxisRight.selectAll('.domain')
7717
+ .style('stroke', 'var(--chart-axis-color)')
7718
+ .style('stroke-width', '1px');
7710
7719
  }
7711
7720
  else {
7712
7721
  svg
@@ -7725,6 +7734,9 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7725
7734
  .call(yAxis)
7726
7735
  .selectAll('text')
7727
7736
  .style('fill', 'var(--chart-text-color)');
7737
+ svg.selectAll('.domain')
7738
+ .style('stroke', 'var(--chart-axis-color)')
7739
+ .style('stroke-width', '1px');
7728
7740
  }
7729
7741
  /**
7730
7742
  * for existing charts, place xaxis labels nearer to xaxis
@@ -7884,10 +7896,16 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7884
7896
  /** hide y axis labels
7885
7897
  * config is there for future use
7886
7898
  */
7887
- if (this.chartConfiguration.isYaxisHidden != undefined &&
7888
- this.chartConfiguration.isYaxisHidden) {
7899
+ if (this.chartConfiguration.isYaxisHidden != undefined && this.chartConfiguration.isYaxisHidden) {
7889
7900
  d3.selectAll('.yaxis-dashed').attr('class', 'lib-display-hidden');
7890
7901
  }
7902
+ else {
7903
+ // Ensure Y-axis domain is visible and styled
7904
+ d3.selectAll('.yaxis-dashed .domain')
7905
+ .style('stroke', 'var(--chart-axis-color)')
7906
+ .style('stroke-width', '1px')
7907
+ .style('display', 'block');
7908
+ }
7891
7909
  /**
7892
7910
  * dashed y axis
7893
7911
  * used by weekly charts
@@ -7927,7 +7945,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7927
7945
  .style('stroke', 'var(--chart-axis-color)')
7928
7946
  .style('stroke-width', '1px');
7929
7947
  }
7930
- styleAxisDomain();
7948
+ // styleAxisDomain();
7931
7949
  if (metaData.yLabel) {
7932
7950
  svgYAxisLeft.selectAll('.lib-axis-group-label, .lib-ylabel-drilldowncharts, .lib-ylabel-weeklyCharts').remove();
7933
7951
  function isAcronym(label) {