impaktapps-design 0.2.58-alpha.6 → 0.2.58-alpha.7
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.
|
@@ -19776,7 +19776,7 @@ const DrawGraph = ({
|
|
|
19776
19776
|
}) => {
|
|
19777
19777
|
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s;
|
|
19778
19778
|
const data = (_a = value == null ? void 0 : value.main) == null ? void 0 : _a.data;
|
|
19779
|
-
const arr = value.main.xAxisValue && value.main.yAxisValue ? [value.main.xAxisValue, value.main.yAxisValue] : Object.keys(data[0][0]);
|
|
19779
|
+
const arr = value.main.xAxisValue && value.main.yAxisValue ? [value.main.xAxisValue, value.main.yAxisValue] : Object.keys(data[0].value[0]);
|
|
19780
19780
|
const accessors = {
|
|
19781
19781
|
xAccessor: (d2) => d2[arr[0]],
|
|
19782
19782
|
yAccessor: (d2) => d2[arr[1]]
|