Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover handlers don't work in Vega-Lite #48

Open
domoritz opened this issue Jul 10, 2019 · 8 comments
Open

Hover handlers don't work in Vega-Lite #48

domoritz opened this issue Jul 10, 2019 · 8 comments
Labels

Comments

@domoritz
Copy link
Member

No description provided.

@domoritz domoritz added the bug label Jul 10, 2019
@hungngo97
Copy link
Member

What do you mean is doesn't work? I ran the storybook example and hovers on some of the bars and it updates the component state

@domoritz
Copy link
Member Author

Hmm, didn't work for me. Let me try again.

@domoritz
Copy link
Member Author

Definitely doesn't work for me.

editor

@hungngo97
Copy link
Member

I did yarn install && yarn build && yarn storybook from a fresh new cloned repo

@domoritz
Copy link
Member Author

And you then see the actions being logged like in Vega?

@kristw
Copy link
Member

kristw commented Sep 15, 2019

@domoritz I'm not sure how to fix this one as vega-lite doesn't issue signal hover. The signal handlers use view.addSignalListeners(signalName, handler) The tooltip does work tho.

@domoritz
Copy link
Member Author

Vega-Embed doesn't enable hover handling by default for Vega-Lite. See https://github.com/vega/vega-embed/blob/5042fe105f7ede9500f3cbc4211bfddbd1bc13f8/src/embed.ts#L297. Maybe that's the reason this doesn't work.

@shenenya
Copy link

Hover handler do not work in vega-lite for me, too. Is there any way to get it done? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants