axidio-styleguide-library1-v2 0.4.20 → 0.4.22

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.
@@ -8156,9 +8156,7 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8156
8156
  return xSubgroup;
8157
8157
  }
8158
8158
  renderBars(svg, data, subgroups, x, xSubgroup, y, height, color, metaData, self, leftAndRightSpaces, tempScale, isria) {
8159
- const barClipGroup = svg.append('g')
8160
- .attr("clip-path", "url(#clip-chart-area)");
8161
- const state = barClipGroup.append('g')
8159
+ const state = svg.append('g')
8162
8160
  .selectAll('.state')
8163
8161
  .data(data)
8164
8162
  .enter()
@@ -8771,15 +8769,6 @@ class HorizontalGroupedBarWithScrollZoomComponent extends ComponentUniqueId {
8771
8769
  .style('min-width', '100%') // Prevent svg from shrinking
8772
8770
  .append('g')
8773
8771
  .attr('transform', `translate(0,${margin.top})`);
8774
- // ADD CLIPPING AREA (important!)
8775
- svg.append("defs")
8776
- .append("clipPath")
8777
- .attr("id", "clip-chart-area")
8778
- .append("rect")
8779
- .attr("x", margin.left)
8780
- .attr("y", 0)
8781
- .attr("width", width - margin.left - rightSvgWidth)
8782
- .attr("height", height);
8783
8772
  return { outerContainer, svgYAxisLeft, svgYAxisRight, innerContainer, svg };
8784
8773
  }
8785
8774
  handleClick(d) {