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

Edit axis titles #26

Closed
tbadams45 opened this issue Jul 1, 2016 · 6 comments
Closed

Edit axis titles #26

tbadams45 opened this issue Jul 1, 2016 · 6 comments

Comments

@tbadams45
Copy link

In syntagmatic's parallel coordinates library, you can edit axis titles by using the dimensions function.

Is there any way of editing the axis titles in parcoords?

@timelyportfolio
Copy link
Owner

I think this has been implemented in the feature/crosstalk branch. See if #16 (comment) helps. I'd like to merge the non-crosstalk pieces of this into master soon, so I would welcome some testing. You can install with

devtools::install_github("rstudio/crosstalk")
devtools::install_github("timelyportfolio/parcoords@feature/crosstalk")

@tbadams45
Copy link
Author

I believe you already factored it out - there's no dimensions label in the crosstalk branch, and there's actually a dimensions branch. Should have checked that before asking.

Dimensions branch works great, by the way!

@tbadams45 tbadams45 reopened this Jul 2, 2016
@tbadams45
Copy link
Author

Figured I wouldn't close in case you wanted to use this as a reminder to merge the dimensions branch.

Thanks for your help, @timelyportfolio! This is a joy of an htmlwidget to use.

@tbadams45
Copy link
Author

Is there a way to include a new line in axis titles? With fully descriptive titles (no abbreviations), the titles can overlap.
capture

@timelyportfolio
Copy link
Owner

@tbadams45, as far as I know it is not available unfortunately. We could use onRender to replace with something like d3plus text, but unfortunately text wrapping in svg text is painful.

@timelyportfolio
Copy link
Owner

going to close. Thanks again for the report and question.

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