Spaces:
Sleeping
Sleeping
tooltip
Browse files
app.py
CHANGED
|
@@ -119,7 +119,8 @@ hist = (
|
|
| 119 |
.encode(
|
| 120 |
x=alt.X("YTD Gross:Q", bin=True, title="YTD Gross (binned)"),
|
| 121 |
y=alt.Y("count()", title="Count"),
|
| 122 |
-
color=alt.value("#4C78A8")
|
|
|
|
| 123 |
)
|
| 124 |
.transform_filter(select_bar)
|
| 125 |
.properties(width=400, height=300)
|
|
|
|
| 119 |
.encode(
|
| 120 |
x=alt.X("YTD Gross:Q", bin=True, title="YTD Gross (binned)"),
|
| 121 |
y=alt.Y("count()", title="Count"),
|
| 122 |
+
color=alt.value("#4C78A8"),
|
| 123 |
+
tooltip=[alt.tooltip("YTD Gross:Q",title="Range"),alt.tooltip("count():Q",title="Count")]
|
| 124 |
)
|
| 125 |
.transform_filter(select_bar)
|
| 126 |
.properties(width=400, height=300)
|