@kashifd/jwero-components 0.5.66 → 0.5.67
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.es.js +4 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -58767,8 +58767,9 @@ const DV = ({ name: e, labels: t, data: n }) => {
|
|
|
58767
58767
|
);
|
|
58768
58768
|
};
|
|
58769
58769
|
function RV(e) {
|
|
58770
|
-
|
|
58771
|
-
|
|
58770
|
+
if (e.length < 2) return 0;
|
|
58771
|
+
const t = [...e].sort((c, d) => c - d), n = t.slice(1).map((c, d) => c - t[d]), s = n.reduce((c, d) => c + d, 0) / n.length;
|
|
58772
|
+
return Math.max(s, 0);
|
|
58772
58773
|
}
|
|
58773
58774
|
const IV = ({
|
|
58774
58775
|
labels: e = [],
|
|
@@ -58823,6 +58824,7 @@ const IV = ({
|
|
|
58823
58824
|
axisTicks: {
|
|
58824
58825
|
show: !1
|
|
58825
58826
|
},
|
|
58827
|
+
min: 0,
|
|
58826
58828
|
max: s
|
|
58827
58829
|
},
|
|
58828
58830
|
yaxis: {
|