Skip to content

Commit

Permalink
todo kpi delta
Browse files Browse the repository at this point in the history
  • Loading branch information
BayoAdejare committed Oct 13, 2024
1 parent 87c598f commit f87f1b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ def display_kpi_metrics(kpis: List[float], kpi_names: List[str]):
for i, (col, (kpi_name, kpi_value)) in enumerate(
zip(st.columns(3), zip(kpi_names, kpis))
):
col.metric(label=kpi_name, value=kpi_value, delta="+10%")
kpi_delta = "+5%"
col.metric(label=kpi_name, value=kpi_value, delta=kpi_delta)


def display_sidebar(data: pd.DataFrame) -> Tuple[List[str], List[str], List[str]]:
Expand Down

0 comments on commit f87f1b2

Please sign in to comment.