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.tsx5
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>
) : (