Hi,
I am new to this forum and dash and trying to create app layout that I can have scatter plots and data tables.
I tried this code below but I’m having table on top (with full width) and a scatter plot below. this is not what I wanted to have. I’m trying to have something in below graph.
app.layout = html.Div([
dbc.Row([ dbc.Col(
dash_table.DataTable(
style_data={
'whiteSpace': 'normal',
'height': 'auto',
'lineHeight': '15px'
},
fill_width=True,
id = 'my_accounting_table',
data = accounting_dt.to_dict('records'),
columns = [{'id': c, 'name':c} for c in accounting_dt.columns]
)
),
dbc.Col(
html.Div(dcc.Graph(id = 'my_scatter_plot', figure=scatterplot)),
width=6, lg={'size': 6, "offset": 0, 'order': 'last'})
])])