Skip to content

"Selected data" with Parallel Coordinates Chart #66

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

Open
EllisShen opened this issue Mar 19, 2018 · 9 comments
Open

"Selected data" with Parallel Coordinates Chart #66

EllisShen opened this issue Mar 19, 2018 · 9 comments

Comments

@EllisShen
Copy link

EllisShen commented Mar 19, 2018

Hi,

I found in another thread, there's an example of using "onRestyle" event to get "constraintrange" data. However, this is not the data of highlighted lines of parcoords chart. is there a simpler way to find "highlighted" line data from the event handler?

Thank you!

@nicolaskruchten
Copy link
Contributor

Can you provide a bit more info about the context of your question? Which event handler are you referring to and which example are you referring to? :)

@EllisShen
Copy link
Author

EllisShen commented Mar 19, 2018

@nicolaskruchten my bad, this is the thread that I referred: https://community.plot.ly/t/displey-selected-data-in-parcoords/4055

I want to know what data that user selected with Parallel Coordinates's constraint, or so-called brush feature. Usually, the selection activity should trigger the associated events, such as onSelecting, onSelected...etc, however, the only workable example I can find now is using restyle event callback to catch the constraint range of the data.

Do you know if there's a way to read all selected line (data) back from one of the event callback?

@nicolaskruchten
Copy link
Contributor

You should be able to read the same values out of the data object that gets passed into the onUpdate callback. Does this not work?

@lakshaykc
Copy link

@nicolaskruchten Can you elaborate on your onUpdate comment? How does the data object provide the filtered lines? In other words, the rows which meet all the criteria.

@pytyq
Copy link

pytyq commented Nov 29, 2018

I have the same problem and can not solve it. Any ideas?

@inlytica
Copy link

inlytica commented Jan 2, 2019

I would also really appreciate a solution. From a previous post https://github.com/plotly/plotly.js/issues/170 , I see that an elegant solution may be a longer term project. However, adding some clarity around how a python developer could use javascript as a workaround would be extremely helpful!

@chriddyp chriddyp changed the title Question: How do I get "Selected data" from Parallel Coordinates Chart? "Selected data" with Parallel Coordinates Chart Jan 3, 2019
@Imperssonator
Copy link

+1 to this thread - the ability to add constraints to each axis and highlight individual data points satisfying those constraints is a lot more useful if those data points are returned

@phylroy
Copy link

phylroy commented Nov 26, 2020

+1 to this as well. Is there a clear example how to get the selected values?

@AhmedThahir
Copy link

+1 to this as well. Is there a clear example how to get the selected values?

Any updates?

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

8 participants