axidio-styleguide-library1-v2 0.3.14 → 0.3.15

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.
@@ -6738,8 +6738,8 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
6738
6738
  .rangeRound([0, dimensions.requiredSvgWidth]) // Full width from 0
6739
6739
  .domain(data.map(d => d.name).reverse())
6740
6740
  .paddingInner(paddingRatio)
6741
- .paddingOuter(0)
6742
- .align(0.5);
6741
+ .paddingOuter(0.05)
6742
+ .align(0);
6743
6743
  const xScaleFromOrigin = d3
6744
6744
  .scaleBand()
6745
6745
  .rangeRound([width, 0])
@@ -7063,12 +7063,11 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7063
7063
  .call((g) => g.select('.domain').remove());
7064
7064
  }
7065
7065
  if (this.chartConfiguration.yAxisGrid) {
7066
- // Grid lines start from x=0 (no gap with Y-axis)
7067
7066
  const gridWidth = dimensions.requiredSvgWidth;
7068
7067
  svg
7069
7068
  .append('g')
7070
7069
  .attr('class', 'grid horizontal-grid')
7071
- .attr('transform', 'translate(0,0)') // Start from x=0
7070
+ .attr('transform', 'translate(0,0)')
7072
7071
  .call(d3
7073
7072
  .axisLeft(scales.yScale)
7074
7073
  .ticks(this.chartConfiguration.numberOfYTicks)
@@ -7078,9 +7077,6 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7078
7077
  .style('opacity', '1')
7079
7078
  .call((g) => {
7080
7079
  g.select('.domain').remove();
7081
- g.selectAll('line')
7082
- .attr('x1', 0)
7083
- .attr('x2', -gridWidth);
7084
7080
  });
7085
7081
  }
7086
7082
  if (this.chartConfiguration.xAxisGrid) {
@@ -7143,7 +7139,7 @@ class HorizontalBarsWithScrollZoomComponent extends ComponentUniqueId {
7143
7139
  .select('.domain')
7144
7140
  .style('stroke', 'var(--chart-axis-color)')
7145
7141
  .style('stroke-width', '1px')
7146
- .attr('d', `M0,0H${dimensions.requiredSvgWidth}`);
7142
+ .attr('d', `M0,0.5H${dimensions.requiredSvgWidth}`);
7147
7143
  // Y-axis
7148
7144
  svg
7149
7145
  .append('g')