diff options
author | srichman333 <sarah_n_richman@brown.edu> | 2024-05-07 18:18:43 -0400 |
---|---|---|
committer | srichman333 <sarah_n_richman@brown.edu> | 2024-05-07 18:18:43 -0400 |
commit | 297f84678f8efb79ed2dc56693520b1e5a00da2e (patch) | |
tree | c651fcd51b2f138c1b613f12aa5f8df5ee98ebeb /src | |
parent | 9589dd92470e59ef041770af5ffc287a74c2752c (diff) |
default ai visualization as linechart
Diffstat (limited to 'src')
-rw-r--r-- | src/client/views/nodes/DataVizBox/DataVizBox.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
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<FieldViewProps>() 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<string>(axes); embedding._dataViz_parentViz = this.Document; embedding.histogramBarColors = Field.Copy(this.layoutDoc.histogramBarColors); |