Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: add markDef.tooltip for interactive check (#9237)
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>
- Loading branch information