Change-Id: Ib3fce8f8f011b50919c1abebed21c7e962913650
Signed-off-by: Tibor Frank <tifrank@cisco.com>
return dbc.Col(
id="col-plotting-area",
children=[
return dbc.Col(
id="col-plotting-area",
children=[
+ dbc.Row( # Throughput
+ id="row-graph-tput",
+ className="g-0",
+ children=[
+ dcc.Loading(
+ dcc.Graph(id="graph-tput")
+ )
+ ]
+ ),
+ dbc.Row( # Latency
+ id="row-graph-lat",
+ className="g-0",
+ children=[
+ dcc.Loading(
+ dcc.Graph(id="graph-latency")
+ )
+ ]
+ ),
+ dbc.Row( # Download
+ id="div-download",
+ className="g-0",
+ children=[
+ dcc.Loading(children=[
+ dbc.Button(
+ id="btn-download-data",
+ children=["Download Data"]
+ ),
+ dcc.Download(id="download-data")
+ ])
+ ]
+ )
className="g-0",
children=[
dbc.Label("Number of Cores"),
className="g-0",
children=[
dbc.Label("Number of Cores"),
- dbc.Checklist(
- id="cl-ctrl-core-all",
- options=[{"label": "All", "value": "all"}, ],
- inline=True,
- switch=False
- ),
- dbc.Checklist(
- id="cl-ctrl-core",
- inline=True,
- switch=False
- )
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-core-all",
+ options=[{"label": "All", "value": "all"}, ],
+ inline=False,
+ switch=False
+ ),
+ ], width=3),
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-core",
+ inline=True,
+ switch=False
+ )
+ ])
className="g-0",
children=[
dbc.Label("Frame Size"),
className="g-0",
children=[
dbc.Label("Frame Size"),
- dbc.Checklist(
- id="cl-ctrl-framesize-all",
- options=[{"label": "All", "value": "all"}, ],
- inline=True,
- switch=False
- ),
- dbc.Checklist(
- id="cl-ctrl-framesize",
- inline=True,
- switch=False
- )
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-framesize-all",
+ options=[{"label": "All", "value": "all"}, ],
+ inline=True,
+ switch=False
+ ),
+ ], width=3),
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-framesize",
+ inline=True,
+ switch=False
+ )
+ ])
className="g-0",
children=[
dbc.Label("Test Type"),
className="g-0",
children=[
dbc.Label("Test Type"),
- dbc.Checklist(
- id="cl-ctrl-testtype-all",
- options=[{"label": "All", "value": "all"}, ],
- inline=True,
- switch=False
- ),
- dbc.Checklist(
- id="cl-ctrl-testtype",
- inline=True,
- switch=False
- )
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-testtype-all",
+ options=[{"label": "All", "value": "all"}, ],
+ inline=True,
+ switch=False
+ ),
+ ], width=3),
+ dbc.Col([
+ dbc.Checklist(
+ id="cl-ctrl-testtype",
+ inline=True,
+ switch=False
+ )
+ ])