From 61a6755166fd674508e4b7fcf11adba4b70c8e67 Mon Sep 17 00:00:00 2001 From: Ritchie Martori Date: Wed, 14 Aug 2024 08:58:14 -0700 Subject: [PATCH] add x,y,z to on_selected --- .../core/src/plugins/SchemaIO/components/PlotlyView.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/packages/core/src/plugins/SchemaIO/components/PlotlyView.tsx b/app/packages/core/src/plugins/SchemaIO/components/PlotlyView.tsx index 3bbb9912d3..7465cf4a9b 100644 --- a/app/packages/core/src/plugins/SchemaIO/components/PlotlyView.tsx +++ b/app/packages/core/src/plugins/SchemaIO/components/PlotlyView.tsx @@ -247,6 +247,9 @@ const EventDataMappers = { selected.push({ idx: point.pointIndex, id: Array.isArray(ids) ? ids[point.pointIndex] : null, + x: Array.isArray(x) ? x[point.pointIndex] : null, + y: Array.isArray(y) ? y[point.pointIndex] : null, + z: Array.isArray(z) ? z[point.pointIndex] : null, }); } return selected;