@carbon/charts 1.22.6 → 1.22.8

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/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@
3
3
  All notable changes to this project will be documented in this file. See
4
4
  [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## 1.22.8 (2024-12-20)
7
+
8
+ **Note:** Version bump only for package @carbon/charts
9
+
10
+ # Change Log
11
+
12
+ All notable changes to this project will be documented in this file. See
13
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
14
+
15
+ ## 1.22.7 (2024-12-04)
16
+
17
+ ### Bug Fixes
18
+
19
+ - **meter:** incorrect peak value showing
20
+ ([#1926](https://github.com/carbon-design-system/carbon-charts/issues/1926))
21
+ ([bd44d25](https://github.com/carbon-design-system/carbon-charts/commit/bd44d25075eef6b9c07e970ef42428e7a2a1aa18))
22
+
23
+ # Change Log
24
+
25
+ All notable changes to this project will be documented in this file. See
26
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
27
+
6
28
  ## 1.22.6 (2024-12-04)
7
29
 
8
30
  **Note:** Version bump only for package @carbon/charts
@@ -8914,7 +8914,7 @@ class nv extends ot {
8914
8914
  ).attr("width", (v) => v.value > h ? d(h) : Math.max(v.width, 2)).style("fill", (v) => e.model.getFillColor(v[l], null, v)).attr("role", it.GRAPHICS_SYMBOL).attr("aria-roledescription", "value").attr("aria-label", (v) => v.value), f.exit().remove();
8915
8915
  const m = b(s, "meter", "peak");
8916
8916
  let E = m;
8917
- m !== null && (m > h ? E = h : m < r[0].value && (E = r[0].value > h ? h : r[0].value));
8917
+ m !== null && (m > h ? E = h : m < 0 && (E = 0));
8918
8918
  const y = n.selectAll("line.peak").data(E == null ? [] : [E]);
8919
8919
  y.enter().append("line").classed("peak", !0).merge(y).attr("y1", 0).attr("y2", () => p || (a ? kt.height.proportional : kt.height.default)).transition().call(
8920
8920
  (v) => this.services.transitions.setupTransition({
@@ -10732,4 +10732,4 @@ export {
10732
10732
  ov as y,
10733
10733
  Km as z
10734
10734
  };
10735
- //# sourceMappingURL=choropleth-SzpEKqur.mjs.map
10735
+ //# sourceMappingURL=choropleth-BLX5stP5.mjs.map