maxschulz-COL commited on
Commit
9a81a12
·
verified ·
1 Parent(s): b4409de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -67,7 +67,7 @@ def update_dash_table(n_dlt, n_add, data):
67
 
68
  page = vm.Page(
69
  title="Example of adding rows to AG Grid and updating a chart based on the edited table",
70
- layout=vm.Layout(grid = [
71
  [0,0,0,0,1,1,1,1],
72
  [0,0,0,0,1,1,1,1],
73
  [0,0,0,0,1,1,1,1],
@@ -85,7 +85,7 @@ page = vm.Page(
85
  dashGridOptions={"rowSelection": "multiple", "suppressRowClickSelection": True},
86
  ),
87
  ),
88
- vm.Graph(id = "output_chart",figure = px.line(df,x="date", y="value"),title="See the results of the edited table"),
89
  vm.Button(
90
  id="delete-row-btn",
91
  text="Delete row",
 
67
 
68
  page = vm.Page(
69
  title="Example of adding rows to AG Grid and updating a chart based on the edited table",
70
+ layout=vm.Grid(grid = [
71
  [0,0,0,0,1,1,1,1],
72
  [0,0,0,0,1,1,1,1],
73
  [0,0,0,0,1,1,1,1],
 
85
  dashGridOptions={"rowSelection": "multiple", "suppressRowClickSelection": True},
86
  ),
87
  ),
88
+ vm.Graph(id = "output_chart",figure = px.line(df,x="date", y="value")),
89
  vm.Button(
90
  id="delete-row-btn",
91
  text="Delete row",