@carbon/charts-vue 1.26.0 → 1.26.1
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 +13 -0
- package/dist/index.mjs +15 -8
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +6 -0
- package/dist/styles.css.map +1 -1
- package/dist/styles.min.css +1 -1
- package/dist/styles.min.css.map +1 -1
- package/package.json +3 -3
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.26.1 (2025-09-22)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **scatter,scatterStacked:** use withiChartClip only with zoombar
|
|
11
|
+
([#2042](https://github.com/carbon-design-system/carbon-charts/issues/2042))
|
|
12
|
+
([a71fba6](https://github.com/carbon-design-system/carbon-charts/commit/a71fba6f4df65fea07e8ddfd5d616f0c39868f75))
|
|
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.26.0 (2025-09-22)
|
|
7
20
|
|
|
8
21
|
### Features
|
package/dist/index.mjs
CHANGED
|
@@ -14663,15 +14663,18 @@ let en = class extends mt {
|
|
|
14663
14663
|
render(t) {
|
|
14664
14664
|
if (!(y(this.getOptions(), "points", "enabled") || y(this.getOptions(), "bubble", "enabled")))
|
|
14665
14665
|
return;
|
|
14666
|
-
const n = this.
|
|
14667
|
-
|
|
14668
|
-
|
|
14666
|
+
const n = this.services.zoom?.isZoomBarEnabled() || !1, r = this.getComponentContainer({
|
|
14667
|
+
ariaLabel: "scatter points",
|
|
14668
|
+
withinChartClip: n
|
|
14669
|
+
}), i = this.getOptions(), { groupMapsTo: s } = i.data, { cartesianScales: a } = this.services;
|
|
14670
|
+
if (!a) throw new Error("Services cartesianScales are undefined.");
|
|
14671
|
+
const o = a.getDomainIdentifier(), l = r.selectAll("circle.dot").data(
|
|
14669
14672
|
this.getScatterData(),
|
|
14670
|
-
(
|
|
14673
|
+
(u) => `${u[s]}-${u[o]}`
|
|
14671
14674
|
);
|
|
14672
|
-
|
|
14673
|
-
const
|
|
14674
|
-
this.styleCircles(
|
|
14675
|
+
l.exit().attr("opacity", 0).remove();
|
|
14676
|
+
const c = l.enter().append("circle").classed("dot", !0).attr("opacity", 0).merge(l);
|
|
14677
|
+
this.styleCircles(c, t), this.addEventListeners();
|
|
14675
14678
|
}
|
|
14676
14679
|
// A value is an anomaly if is above all defined domain and range thresholds
|
|
14677
14680
|
isDatapointThresholdAnomaly(t) {
|
|
@@ -14738,7 +14741,11 @@ let en = class extends mt {
|
|
|
14738
14741
|
return null;
|
|
14739
14742
|
}
|
|
14740
14743
|
addEventListeners() {
|
|
14741
|
-
const t = this, { groupMapsTo: n } = t.getOptions().data, r = y(
|
|
14744
|
+
const t = this, { groupMapsTo: n } = t.getOptions().data, r = y(
|
|
14745
|
+
this.getOptions(),
|
|
14746
|
+
"tooltip",
|
|
14747
|
+
"alwaysShowRulerTooltip"
|
|
14748
|
+
);
|
|
14742
14749
|
if (!this.parent) throw new Error("Parent not defined");
|
|
14743
14750
|
const i = this.parent.selectAll("circle");
|
|
14744
14751
|
r ? i.style("pointer-events", "none") : i.style("pointer-events", null), i.on("mouseover", function(s, a) {
|