Skip to content
New issue

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

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

Already on GitHub? # to your account

Provide tooltip support #36

Open
2 tasks
nesterone opened this issue Oct 21, 2017 · 3 comments
Open
2 tasks

Provide tooltip support #36

nesterone opened this issue Oct 21, 2017 · 3 comments

Comments

@nesterone
Copy link
Owner

  • option to show/hide tooltip
  • slots to customize it's content
@nesterone
Copy link
Owner Author

About tooltip #36, my initial idea was to use vue slots, however, it's maybe a sugar API in future

In general vue-vega just a wrapper around Vega/Vega-Lite library, so I think it makes sense to use the same approach as vega-embedded:

``js
var handler = new vegaTooltip.Handler(options);
VueVega.use({tooltip: handler.call, mode: 'vega-lite'})

@xmnlab
Copy link
Contributor

xmnlab commented Dec 10, 2018

@nesterone

currently, after #44, it is possible to use tooltips using spec. I think also it is possible use it by specifying tooltip on encoding. should that be sufficient?

@chris-canipe
Copy link

I'm having trouble with the VueVega.use example above. Has anyone got tooltips to work in this manner? They work if specified in encoding, but I want them to be automatic, similar to Voyager.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants