diff options
| author | srichman333 <sarah_n_richman@brown.edu> | 2023-08-14 23:22:55 -0400 |
|---|---|---|
| committer | srichman333 <sarah_n_richman@brown.edu> | 2023-08-14 23:22:55 -0400 |
| commit | 51b525b5f727311628cba1809e078b67543ddfa4 (patch) | |
| tree | 826146e59f97619ffe427b70f7d3954e3c486ba0 /src/client/views/nodes/DataVizBox | |
| parent | 48ca2299b805db282b2b5d559cf27291fdc119ac (diff) | |
merge
Diffstat (limited to 'src/client/views/nodes/DataVizBox')
| -rw-r--r-- | src/client/views/nodes/DataVizBox/DataVizBox.tsx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/views/nodes/DataVizBox/DataVizBox.tsx b/src/client/views/nodes/DataVizBox/DataVizBox.tsx index e71739231..0cc73f32f 100644 --- a/src/client/views/nodes/DataVizBox/DataVizBox.tsx +++ b/src/client/views/nodes/DataVizBox/DataVizBox.tsx @@ -25,6 +25,9 @@ export enum DataVizView { @observer export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { + public static LayoutString(fieldStr: string) { + return FieldView.LayoutString(DataVizBox, fieldStr); + } // all data static pairSet = new ObservableMap<string, { [key: string]: string }[]>(); @@ -120,7 +123,7 @@ export class DataVizBox extends ViewBoxAnnotatableComponent<FieldViewProps>() { // displays how to get data into the DataVizBox if its empty <div className="start-message"> To create a DataViz box, either import / drag a CSV file into your canvas - or copy a data table and use the command 'ctrl + t' to bring the data table + or copy a data table and use the command 'ctrl + p' to bring the data table to your canvas. </div> ) : ( |
