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

show curve values and depth on hover #13

Closed
JustinGOSSES opened this issue Dec 7, 2019 · 4 comments
Closed

show curve values and depth on hover #13

JustinGOSSES opened this issue Dec 7, 2019 · 4 comments
Labels
core feature a core feature enhancement New feature or request

Comments

@JustinGOSSES
Copy link
Owner

No description provided.

@JustinGOSSES JustinGOSSES added core feature a core feature enhancement New feature or request labels Dec 13, 2019
@JustinGOSSES
Copy link
Owner Author

Eshan volunteered to possible do a pull request for this issue as he has some code he can share for it. Putting comment here as I don't know his github name.

@JustinGOSSES
Copy link
Owner Author

There are a couple versions of hover/tooltips.

This one looks nice and is independent of making circles over lines. https://bl.ocks.org/micahstubbs/e4f5c830c264d26621b80b754219ae1b

@JustinGOSSES
Copy link
Owner Author

Should solve this one and #59 at same time

@JustinGOSSES
Copy link
Owner Author

Changing how hover/mouseover appears requires the following switches to be available to user:

    • Any hover display of information?
    • Depth or depth & curve displayed
    • if curve in any above, which curve
    • if curve, what color if not default of curve color & infill of black to ensure visibility

How to ensure intuitive for developer?
A.) Give available values in key name
B.) Have these key:value pairs at curvebox level
C.) Only supply mouseover value for one curve at a time as otherwise things overlap and can't be seen. If you want to give user ability to switch between curve values on hover, rebuild the svg.
mouseover_yes_or_no = "yes" or "no" string
mouseover_depth_or_depth_and_curve = "depth" or "depth_and_curve" string
mouseover_curvename = "GR" or other curvename string, default is first curve
mouseover_color_or_default_which_is_curve_color = "default" or a color as a string

@JustinGOSSES JustinGOSSES moved this to Done in Prime Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core feature a core feature enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant