jfiel5 commited on
Commit
ecfaf74
·
verified ·
1 Parent(s): 39577d4
Files changed (1) hide show
  1. app.py +2 -1
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)