@carbon/charts 1.15.1 → 1.15.2

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.15.2 (2024-03-08)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **tabular-rep:** better handling of null values
11
+ ([#1779](https://github.com/carbon-design-system/carbon-charts/issues/1779))
12
+ ([011f3b4](https://github.com/carbon-design-system/carbon-charts/commit/011f3b424c97cb22434bcb1f88d75acf6e272b9d))
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.15.1 (2024-03-06)
7
20
 
8
21
  **Note:** Version bump only for package @carbon/charts
@@ -5979,7 +5979,7 @@ class zh extends fl {
5979
5979
  */
5980
5980
  appendPercentage() {
5981
5981
  const e = v(this.model.getDisplayData(), 0, "value"), { code: t, number: n } = v(this.getOptions(), "locale"), s = this.getComponentContainer(), a = S.appendOrSelect(s, "text.meter-title"), i = v(this.getOptions(), "meter", "statusBar", "percentageIndicator", "enabled") === !0 ? [e] : [], r = s.selectAll("text.percent-value").data(i), l = ge.statusBar.paddingRight;
5982
- r.enter().append("text").classed("percent-value", !0).merge(r).text((c) => `${n(c, t)}%`).attr("x", +a.attr("x") + a.node().getComputedTextLength() + l).attr("y", a.attr("y")), r.exit().remove();
5982
+ r.enter().append("text").classed("percent-value", !0).merge(r).text((c) => `${c != null ? n(c, t) : 0}%`).attr("x", +a.attr("x") + a.node().getComputedTextLength() + l).attr("y", a.attr("y")), r.exit().remove();
5983
5983
  }
5984
5984
  /**
5985
5985
  * Uses the parent class truncate logic
@@ -8704,4 +8704,4 @@ export {
8704
8704
  Mh as y,
8705
8705
  _h as z
8706
8706
  };
8707
- //# sourceMappingURL=choropleth-kGlHP3Ga.mjs.map
8707
+ //# sourceMappingURL=choropleth-iPofCoEr.mjs.map