@carbon/charts 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/{choropleth-CRH6Tnw6.mjs → choropleth-Bu2YPax2.mjs} +16 -9
- package/dist/choropleth-Bu2YPax2.mjs.map +1 -0
- package/dist/components/index.mjs +1 -1
- package/dist/index.mjs +2 -2
- 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/dist/umd/bundle.umd.cjs +1 -1
- package/dist/umd/bundle.umd.cjs.map +1 -1
- package/dist/umd/bundle.umd.js +1 -1
- package/package.json +2 -2
- package/scss/graphs/_scatter-stacked.scss +2 -0
- package/scss/graphs/_scatter.scss +2 -0
- package/styles.css +6 -0
- package/styles.min.css +1 -1
- package/dist/choropleth-CRH6Tnw6.mjs.map +0 -1
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
|
|
@@ -6060,15 +6060,18 @@ class Qi extends dt {
|
|
|
6060
6060
|
render(t) {
|
|
6061
6061
|
if (!(O(this.getOptions(), "points", "enabled") || O(this.getOptions(), "bubble", "enabled")))
|
|
6062
6062
|
return;
|
|
6063
|
-
const n = this.
|
|
6064
|
-
|
|
6065
|
-
|
|
6063
|
+
const n = this.services.zoom?.isZoomBarEnabled() || !1, s = this.getComponentContainer({
|
|
6064
|
+
ariaLabel: "scatter points",
|
|
6065
|
+
withinChartClip: n
|
|
6066
|
+
}), a = this.getOptions(), { groupMapsTo: r } = a.data, { cartesianScales: o } = this.services;
|
|
6067
|
+
if (!o) throw new Error("Services cartesianScales are undefined.");
|
|
6068
|
+
const c = o.getDomainIdentifier(), l = s.selectAll("circle.dot").data(
|
|
6066
6069
|
this.getScatterData(),
|
|
6067
|
-
(
|
|
6070
|
+
(u) => `${u[r]}-${u[c]}`
|
|
6068
6071
|
);
|
|
6069
|
-
|
|
6070
|
-
const
|
|
6071
|
-
this.styleCircles(
|
|
6072
|
+
l.exit().attr("opacity", 0).remove();
|
|
6073
|
+
const d = l.enter().append("circle").classed("dot", !0).attr("opacity", 0).merge(l);
|
|
6074
|
+
this.styleCircles(d, t), this.addEventListeners();
|
|
6072
6075
|
}
|
|
6073
6076
|
// A value is an anomaly if is above all defined domain and range thresholds
|
|
6074
6077
|
isDatapointThresholdAnomaly(t) {
|
|
@@ -6135,7 +6138,11 @@ class Qi extends dt {
|
|
|
6135
6138
|
return null;
|
|
6136
6139
|
}
|
|
6137
6140
|
addEventListeners() {
|
|
6138
|
-
const t = this, { groupMapsTo: e } = t.getOptions().data, n = O(
|
|
6141
|
+
const t = this, { groupMapsTo: e } = t.getOptions().data, n = O(
|
|
6142
|
+
this.getOptions(),
|
|
6143
|
+
"tooltip",
|
|
6144
|
+
"alwaysShowRulerTooltip"
|
|
6145
|
+
);
|
|
6139
6146
|
if (!this.parent) throw new Error("Parent not defined");
|
|
6140
6147
|
const s = this.parent.selectAll("circle");
|
|
6141
6148
|
n ? s.style("pointer-events", "none") : s.style("pointer-events", null), s.on("mouseover", function(a, r) {
|
|
@@ -10778,4 +10785,4 @@ export {
|
|
|
10778
10785
|
jm as y,
|
|
10779
10786
|
Gm as z
|
|
10780
10787
|
};
|
|
10781
|
-
//# sourceMappingURL=choropleth-
|
|
10788
|
+
//# sourceMappingURL=choropleth-Bu2YPax2.mjs.map
|