Spaces:
Runtime error
Runtime error
Commit
β’
a3a36b8
1
Parent(s):
f272cc4
Update app.py
Browse files
app.py
CHANGED
@@ -129,7 +129,7 @@ def progress_bar_chart() -> alt.Chart:
|
|
129 |
# Create the progress bar chart.
|
130 |
progress_bar = alt.Chart(progress_data).mark_bar(size=40).encode(
|
131 |
x=alt.X('percentage:Q', axis=alt.Axis(title='Completion Percentage', format='%')),
|
132 |
-
color=alt.Color('status:N', scale=alt.Scale(domain=['
|
133 |
tooltip=['status', 'actual']
|
134 |
)
|
135 |
|
|
|
129 |
# Create the progress bar chart.
|
130 |
progress_bar = alt.Chart(progress_data).mark_bar(size=40).encode(
|
131 |
x=alt.X('percentage:Q', axis=alt.Axis(title='Completion Percentage', format='%')),
|
132 |
+
color=alt.Color('status:N', scale=alt.Scale(domain=['Pending','Completed'], range=['#28a745', '#dcdcdc'])),
|
133 |
tooltip=['status', 'actual']
|
134 |
)
|
135 |
|