aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/DataVizBox/DataVizBox.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/views/nodes/DataVizBox/DataVizBox.tsx')
-rw-r--r--src/client/views/nodes/DataVizBox/DataVizBox.tsx15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
index cfa420473..32ed57861 100644
--- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx
+++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx
@@ -353,9 +353,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
this.props.addDocument?.(newDoc);
}
DocUtils.MakeLink(anchor, newDoc, { link_relationship: 'GPT Data Prompt' });
- }
-
-
+ }
}
render() {
@@ -386,15 +384,15 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
<Toggle text={'PIE CHART'} toggleType={ToggleType.BUTTON} type={Type.SEC} color={'black'} onClick={e => (this.layoutDoc._dataViz = DataVizView.PIECHART)} toggleStatus={this.layoutDoc._dataViz == -DataVizView.PIECHART} />
</div>
- <CollectionFreeFormView
+ {/* <CollectionFreeFormView
ref={this._ffref}
{...this.props}
setContentView={emptyFunction}
- renderDepth={this.props.renderDepth + 1}
+ renderDepth={this.props.renderDepth - 1}
fieldKey={this.annotationKey}
styleProvider={this.props.styleProvider}
isAnnotationOverlay={true}
- annotationLayerHostsContent={true}
+ annotationLayerHostsContent={false}
PanelWidth={this.props.PanelWidth}
PanelHeight={this.props.PanelHeight}
select={emptyFunction}
@@ -403,11 +401,10 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() {
removeDocument={this.removeDocument}
moveDocument={this.moveDocument}
addDocument={this.addDocument}>
-
{this.renderVizView}
+ </CollectionFreeFormView> */}
- </CollectionFreeFormView>
-
+ {this.renderVizView}
<div className="dataviz-sidebar"
style={{ width: `${this.sidebarWidthPercent}`,
backgroundColor: `${this.sidebarColor}` }}