Far better dashboard. Fixed bot-bugs

This commit is contained in:
Remy Moll
2021-01-13 12:08:58 +01:00
parent 5fe02d4bcd
commit db6c13655e
4 changed files with 8 additions and 4 deletions

View File

@@ -99,9 +99,11 @@ class DashBoard():
ye = self.persistence["bot"]["execute_activity"]["count"]
fig = go.Figure()
fig.add_trace(go.Scatter(x=xs, y=ys, fill="tozeroy", mode="lines", text="Gesendet"))
fig.add_trace(go.Scatter(x=xr, y=yr, fill="tozeroy", mode="lines", text="Gelesen"))
fig.add_trace(go.Scatter(x=xs, y=ys, fill="tozeroy", mode="lines", text="Gesendet"))
fig.add_trace(go.Scatter(x=xe, y=ye, fill="tozeroy", mode="lines", text="Ausgeführt"))
fig.layout.update(showlegend=False,margin=dict(l=0, r=0, t=0, b=0),)
card = dbc.Card(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 KiB

After

Width:  |  Height:  |  Size: 310 KiB