-
Notifications
You must be signed in to change notification settings - Fork 21
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
ordering for ordinal and continuous variables along vertical axes #16
Comments
Don't remember. I'll have a look. Most likely related to syntagmatic/parallel-coordinates#90. |
Unfortunately, @anobel, this is not currently available. I hope it gets added soon. I'll continue to play to see if I can work it in. |
also discussed here: syntagmatic/parallel-coordinates#106 |
and I'm so excited we just got a pull request. I'll check it out and merge it in an experimental spot for us to play. |
@anobel, I was able to incorporate the pull request. The code currently is very messy as I try to think through patterns and best ease of use. Things like
What gets tricky/hacky is providing a custom
|
@timelyportfolio, thanks so much for putting this together. I'm working through your examples and so far I've come across one issue: it seems the new For example,
whereas
|
in addition, running into a problem with tick marks. with the following code:
almost everything works, except the tick mark labels are in descending order but the observation lines are drawn as if it were in ascending order. |
Thanks @anobel for all the feedback/reports. It seems the I missed one step to make Commits 998806a and 54f82dd made the fixes.
|
I reinstalled the latest parcoords dimensions branch, and using the code above, but it didn't seem to make any impact. With |
@anobel, Ok, I think the problem with
expects I'll keep working on the other. |
@anobel, with |
@anobel, I see the problem arises with
|
@timelyportfolio thanks so much! I'm enjoying using this and iterating back and forth, no need to apologize! The latest fix works; the axis are sorted correctly, the labels are correct, and brushing/interactivity work. When I set I did not see any errors in the console with either T/F setting for row names. |
that's probably why I chose the |
@anobel, if you could reinstall one more time to see if moving the
This should also still allow the rownames to be passed through with Shiny. |
Success! works great!! |
@anobel, very glad to hear! Let me know if you find anything else. I'll push to master and bump the version if we don't find anything over the next couple of days. |
Is it possible to change the ordering of values along the various Y-axes in a
parcoords
plot?factor
variable, it seems that when the plot is rendered, it is in descending order of frequency and does not respect the ordering of thefactor
variable. Is there a way to pass that through?This is achieved in
d3
, as I understand, by passing d3.scale.linear().range(); such as:The text was updated successfully, but these errors were encountered: