aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DataVizBox.tsx
diff options
context:
space:
mode:
authorsrichman333 <sarah_n_richman@brown.edu>2023-07-12 22:59:46 -0400
committersrichman333 <sarah_n_richman@brown.edu>2023-07-12 22:59:46 -0400
commitaa7642006598bd47b415d4d2452dd4d226ab3ac5 (patch)
tree2c286d148965a74d504c130b3566d8cae2dc1a55 /src/client/views/nodes/DataVizBox/DataVizBox.tsx
parentc5740deae879fffdc46a862b81be2c96ae9366b4 (diff)
brushing/linking for histograms + pie charts
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DataVizBox.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DataVizBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
index e6d08d47f..25098baf1 100644
--- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx
+++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
@@ -133,6 +133,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
}
render() {
+ if (!this.layoutDoc._dataVizView) this.layoutDoc._dataVizView = this.dataVizView;
return !this.pairs?.length ? (
<div>Loading...</div>
) : (