cambiamos bullet por angular

parent 542681b3
......@@ -61,8 +61,8 @@ app.layout = html.Div(
),
],
className="wrapper"
),
],
),
], style={"display":"inline-block"},
),
html.Div(
children=[
......@@ -86,7 +86,7 @@ app.layout = html.Div(
],
className="wrapper"
),
],
], style={"display":"inline-block"},
),
html.Div(
children=[
......@@ -110,7 +110,7 @@ app.layout = html.Div(
],
className="wrapper"
),
],
], style={"display":"inline-block"},
),
]
)
......@@ -134,7 +134,7 @@ def update_charts(ncomidas, glucosa, nvisitas):
value = filtered_data["medibles"].count(),
domain = {'x': [0, 1], 'y': [0, 1]},
title = {'text': "Ptes"},
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'bullet'}))
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'angular'}))
glucosa_data = data.query("Days_glucose >= @glucosa")
glucosa_chart_figure = go.Figure(go.Indicator(
......@@ -142,7 +142,7 @@ def update_charts(ncomidas, glucosa, nvisitas):
value = glucosa_data["medibles"].count(),
domain = {'x': [0, 1], 'y': [0, 1]},
title = {'text': "Ptes"},
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'bullet'}))
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'angular'}))
visitas_data = data.query("Days_glucose >= @nvisitas")
visitas_chart_figure = go.Figure(go.Indicator(
......@@ -150,7 +150,7 @@ def update_charts(ncomidas, glucosa, nvisitas):
value = visitas_data["medibles"].count(),
domain = {'x': [0, 1], 'y': [0, 1]},
title = {'text': "Ptes"},
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'bullet'}))
gauge = {'axis': {'range': [None, total_data]}, 'shape': 'angular'}))
return comidas_chart_figure, glucosa_chart_figure, visitas_chart_figure
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment