Giter VIP home page Giter VIP logo

Comments (8)

hungngo97 avatar hungngo97 commented on May 12, 2024

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

from react-vega.

domoritz avatar domoritz commented on May 12, 2024

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

from react-vega.

domoritz avatar domoritz commented on May 12, 2024

Definitely doesn't work for me.

editor

from react-vega.

hungngo97 avatar hungngo97 commented on May 12, 2024

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

from react-vega.

domoritz avatar domoritz commented on May 12, 2024

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

from react-vega.

kristw avatar kristw commented on May 12, 2024

@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.

from react-vega.

domoritz avatar domoritz commented on May 12, 2024

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.

from react-vega.

shenenya avatar shenenya commented on May 12, 2024

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

from react-vega.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.