axidio-styleguide-library1-v2 0.1.63 → 0.1.64

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