@carbon/charts-react 1.22.6 → 1.22.7

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.
package/dist/index.mjs CHANGED
@@ -17464,7 +17464,7 @@ class YR extends xt {
17464
17464
  ).attr("width", (b) => b.value > u ? d(u) : Math.max(b.width, 2)).style("fill", (b) => n.model.getFillColor(b[c], null, b)).attr("role", dt.GRAPHICS_SYMBOL).attr("aria-roledescription", "value").attr("aria-label", (b) => b.value), f.exit().remove();
17465
17465
  const m = x(i, "meter", "peak");
17466
17466
  let y = m;
17467
- m !== null && (m > u ? y = u : m < a[0].value && (y = a[0].value > u ? u : a[0].value));
17467
+ m !== null && (m > u ? y = u : m < 0 && (y = 0));
17468
17468
  const g = r.selectAll("line.peak").data(y == null ? [] : [y]);
17469
17469
  g.enter().append("line").classed("peak", !0).merge(g).attr("y1", 0).attr("y2", () => p || (s ? ae.height.proportional : ae.height.default)).transition().call(
17470
17470
  (b) => this.services.transitions.setupTransition({