@carbon/charts-react 1.11.5 → 1.11.6
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -10878,7 +10878,7 @@ let mL = class extends or {
|
|
|
10878
10878
|
* Get the associated status for the data by checking the ranges
|
|
10879
10879
|
*/
|
|
10880
10880
|
getStatus() {
|
|
10881
|
-
const t = this.getOptions(), n = b(this.getDisplayData()),
|
|
10881
|
+
const t = this.getOptions(), n = b(this.getDisplayData()), r = (n == null ? void 0 : n.reduce((a, o) => a + o.value, 0)) ?? 0, i = b(t, "meter", "proportional") ? r : r > 100 ? 100 : r, s = b(t, "meter", "status", "ranges");
|
|
10882
10882
|
if (s) {
|
|
10883
10883
|
const a = s.filter(
|
|
10884
10884
|
(o) => o.range[0] <= i && i <= o.range[1]
|