Add clinical threshold lines to AGP/Dagoverzicht charts, TIR stacked bar to Samenvatting
Closes gitea #14, #15.
This commit is contained in:
@@ -7,6 +7,7 @@ from auth import require_auth
|
||||
from data_processing import TARGET_HIGH, TARGET_LOW
|
||||
from nightscout_client import NightscoutConfigError
|
||||
from ui_common import (
|
||||
add_threshold_lines,
|
||||
get_colors,
|
||||
load_range_data,
|
||||
render_completeness_warning,
|
||||
@@ -74,6 +75,7 @@ for i, day in enumerate(dates, start=1):
|
||||
col=1,
|
||||
)
|
||||
fig.update_yaxes(title_text="mmol/L", gridcolor=colors["grid"], row=i, col=1)
|
||||
add_threshold_lines(fig, colors, row=i)
|
||||
|
||||
fig.update_xaxes(title_text="Uur van de dag", range=[0, 24], dtick=4, gridcolor=colors["grid"])
|
||||
fig.update_layout(
|
||||
|
||||
Reference in New Issue
Block a user