@carbon/charts-vue 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/CHANGELOG.md CHANGED
@@ -3,6 +3,19 @@
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.7 (2024-12-04)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **meter:** incorrect peak value showing
11
+ ([#1926](https://github.com/carbon-design-system/carbon-charts/issues/1926))
12
+ ([bd44d25](https://github.com/carbon-design-system/carbon-charts/commit/bd44d25075eef6b9c07e970ef42428e7a2a1aa18))
13
+
14
+ # Change Log
15
+
16
+ All notable changes to this project will be documented in this file. See
17
+ [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
18
+
6
19
  ## 1.22.6 (2024-12-04)
7
20
 
8
21
  **Note:** Version bump only for package @carbon/charts-vue
package/dist/index.mjs CHANGED
@@ -17423,7 +17423,7 @@ class kD extends dt {
17423
17423
  ).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", ot.GRAPHICS_SYMBOL).attr("aria-roledescription", "value").attr("aria-label", (b) => b.value), f.exit().remove();
17424
17424
  const g = x(i, "meter", "peak");
17425
17425
  let y = g;
17426
- g !== null && (g > u ? y = u : g < a[0].value && (y = a[0].value > u ? u : a[0].value));
17426
+ g !== null && (g > u ? y = u : g < 0 && (y = 0));
17427
17427
  const v = r.selectAll("line.peak").data(y == null ? [] : [y]);
17428
17428
  v.enter().append("line").classed("peak", !0).merge(v).attr("y1", 0).attr("y2", () => p || (s ? Zt.height.proportional : Zt.height.default)).transition().call(
17429
17429
  (b) => this.services.transitions.setupTransition({