You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite tooltip set to true in the top chart, no tooltip shows. The rendered Vega spec has interactive set to false. Setting this to true fixes the issue. I don't believe there is a way to do this in VL
The text was updated successfully, but these errors were encountered:
close#9190
For the original fail case, I found that adding tooltip in the encoding
field can solve the issue.
My assumption is the interactiveFlag missed to check markDef.tooltip
field, and thus add it in this PR
```
"encoding": {
"x": {
"field": "date",
"type": "temporal",
"scale": {"domain": {"param": "brush"}},
"axis": {"title": ""}
},
"y": {"field": "price", "type": "quantitative"},
"tooltip": [
{"field": "price", "type": "quantitative"},
{"field": "date", "type": "temporal"}
]
}
```
https://github.com/vega/vega-lite/blob/ffec017f638103c37d0dbe72cac7d44f4f44b9d6/src/compile/mark/mark.ts#L377-L381
---------
Co-authored-by: GitHub Actions Bot <vega-actions-bot@users.noreply.github.com>
Relevant Stack Overflow: https://stackoverflow.com/questions/77569300/tooltip-not-working-on-using-scroller-in-vegalite/77569627?noredirect=1#comment136750697_77569627
Spec
Despite tooltip set to true in the top chart, no tooltip shows. The rendered Vega spec has interactive set to false. Setting this to true fixes the issue. I don't believe there is a way to do this in VL
The text was updated successfully, but these errors were encountered: