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

Add feature $show_on_hover #57

Open
dov opened this issue Mar 15, 2022 · 0 comments
Open

Add feature $show_on_hover #57

dov opened this issue Mar 15, 2022 · 0 comments

Comments

@dov
Copy link
Owner

dov commented Mar 15, 2022

I suggest adding a new command to giv called $show_on_hover. It can be used as follows:

$show_on_hover 

Without any parameters, this means that the dataset will be shown whenever the mouse enters any painted pixel of the dataset.

$show_on_hover path=foo/bar/baz

With a path parameter, the dataset will be shown whenever the referenced path is hoverd over.

$show_on_hover 100 100

With an x/y coordinate but without a radius parameter this means that the dataset will be shown when the mouse appears in a default radius around the above point.

$show_on_hover 100 100 radius=10

This means that the dataset will be shown whenever the mouse is in a radius 10 around the datapoint.

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

No branches or pull requests

1 participant