From 297f84678f8efb79ed2dc56693520b1e5a00da2e Mon Sep 17 00:00:00 2001 From: srichman333 Date: Tue, 7 May 2024 18:18:43 -0400 Subject: default ai visualization as linechart --- src/client/views/nodes/DataVizBox/DataVizBox.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx index f316c6e0f..01258a996 100644 --- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx +++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx @@ -444,7 +444,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent() im createFilteredDoc = (axes?: any, type?: DataVizView) => { const embedding = Doc.MakeEmbedding(this.Document!); embedding._layout_showSidebar = false; - embedding._dataViz = type? type : DataVizView.HISTOGRAM; + embedding._dataViz = type? type : DataVizView.LINECHART; embedding._dataViz_axes = new List(axes); embedding._dataViz_parentViz = this.Document; embedding.histogramBarColors = Field.Copy(this.layoutDoc.histogramBarColors); -- cgit v1.2.3-70-g09d2