axidio-styleguide-library1-v2 0.3.82 → 0.3.84

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.
@@ -7741,7 +7741,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
7741
7741
  yLineAxis = result.yLineAxis;
7742
7742
  }
7743
7743
  // ==================== GRID LINES ====================
7744
- this.renderGridLines(svg, x, y, height, width, self);
7744
+ this.renderGridLines(svg, x, y, height, width, self, isria);
7745
7745
  // ==================== BARS RENDERING ====================
7746
7746
  const xSubgroup = this.setupXSubgroupScale(subgroups, x, self);
7747
7747
  const color = d3.scaleOrdinal()
@@ -8074,7 +8074,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8074
8074
  .tickFormat(self.chartConfiguration.yLineAxisLabelFomatter);
8075
8075
  return { lineYscale, yLineAxis };
8076
8076
  }
8077
- renderGridLines(svg, x, y, height, width, self) {
8077
+ renderGridLines(svg, x, y, height, width, self, isria) {
8078
8078
  // X-axis grid between labels
8079
8079
  if (self.chartConfiguration.isXgridBetweenLabels) {
8080
8080
  svg.append('g')
@@ -8093,7 +8093,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8093
8093
  .style('opacity', '0.5')
8094
8094
  .call((g) => g.select('.domain').remove().style('stroke', 'var(--chart-domain-color, #000000)'));
8095
8095
  }
8096
- else {
8096
+ if (!this.chartConfiguration.yAxisGrid && !isria) {
8097
8097
  svg.append('g')
8098
8098
  .call(d3.axisLeft(y).ticks(self.chartConfiguration.numberOfYTicks))
8099
8099
  .style('color', 'var(--chart-axis-color, #B9B9B9)')
@@ -8486,7 +8486,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8486
8486
  const isAcronym = this.isLabelAcronym(metaData.xLabel);
8487
8487
  const xPosition = isria
8488
8488
  ? (height + margin.top + margin.bottom)
8489
- : (height + margin.top + margin.bottom + 48);
8489
+ : (height + margin.top + margin.bottom + 40);
8490
8490
  svg.append('text')
8491
8491
  .attr('class', this.getXLabelClass(self))
8492
8492
  .attr('style', self.chartConfiguration.xAxisCustomlabelStyles)
@@ -8533,7 +8533,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8533
8533
  const yZero = y(this.chartData.targetLineData.target);
8534
8534
  // Draw target line
8535
8535
  svg.append('line')
8536
- .attr('x1', 10)
8536
+ .attr('x1', 20)
8537
8537
  .attr('x2', width)
8538
8538
  .attr('y1', yZero)
8539
8539
  .attr('y2', yZero)