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 mouseover #37

Open
tdeimel opened this issue Oct 11, 2018 · 4 comments
Open

Add mouseover #37

tdeimel opened this issue Oct 11, 2018 · 4 comments

Comments

@tdeimel
Copy link

tdeimel commented Oct 11, 2018

Great, useful library!!

With a large number of observations, it becomes quite difficult to read the sample labels. A plotly-like mouseover functionality (which afik is not implemented for plotly's own parcoord plots) would be really helpful in that regard. This should, e.g., show the sample name (row name) and perhaps the exact value for the axis closest to the mouse position upon moving the cursor over the respective line. One could also limit this to lines that were selected by the brush selection to make it even less crowded.

An alternative would be to only show the row names/sample labels in the row names axis of the lines that are currently selected by the brush (and hide the all other labels).

Edit: similar to this here: http://bl.ocks.org/mostaphaRoudsari/b4e090bb50146d88aec4

@aliarsalankazmi
Copy link

Hi @tdeimel @timelyportfolio ,

Was there any update on this?
@tdeimel , how did you go about dealing with this on your own?

@tdeimel
Copy link
Author

tdeimel commented May 29, 2019

Hey aliarsalankazmi,

I did not fix it. For my specific application/the way it's being used, a work-around was sufficient: when you use the brush to select a couple of lines in the plot, their values for each variable are displayed in a table below the plot.
I still think a mouse-over feature would be a useful addition.

@aliarsalankazmi
Copy link

@tdeimel thank you!
And how did you get the values for the brushed line? Perhaps I could use that too

@tdeimel
Copy link
Author

tdeimel commented Jun 30, 2019

Hey @aliarsalankazmi,

sorry for the late reply! Hope you figured it out anyway - a quick search would have led you to this for example: https:/timelyportfolio/parcoords/blob/master/inst/examples/shiny/app.R

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

2 participants