|
|
@ -126,7 +126,15 @@ def csv_to_json(contents, name):
|
|
|
|
[Input('json-storage', 'children')])
|
|
|
|
[Input('json-storage', 'children')])
|
|
|
|
def read_json_data(json_data):
|
|
|
|
def read_json_data(json_data):
|
|
|
|
if json_data is None:
|
|
|
|
if json_data is None:
|
|
|
|
return html.Div([])
|
|
|
|
elements = html.Div([
|
|
|
|
|
|
|
|
dcc.Graph(),
|
|
|
|
|
|
|
|
html.Div([
|
|
|
|
|
|
|
|
html.Div([dcc.Graph()], className='six columns'),
|
|
|
|
|
|
|
|
]),
|
|
|
|
|
|
|
|
html.Div()
|
|
|
|
|
|
|
|
])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return elements
|
|
|
|
|
|
|
|
|
|
|
|
info = json.loads(json_data)['info']
|
|
|
|
info = json.loads(json_data)['info']
|
|
|
|
df = pd.read_json(json.loads(json_data)['timeseries'], orient='table')
|
|
|
|
df = pd.read_json(json.loads(json_data)['timeseries'], orient='table')
|
|
|
|