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

Options for align axis labels and ticks in 3D scenes #14

Merged
merged 9 commits into from
Oct 10, 2018

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 10, 2018

This PR tries to enable an interactive alignment of axis ticks and titles (labels) that are long i.e. to avoid the overlap of layout descriptions with data representation: plotly/plotly.js#3077
This functionality is not applied for labels that are shorter than 4 characters e.g. 'x', 'y', 'z'.
In addition to this interactive behavior [option=1] other options could be used e.g [option=-1] to force everything horizontal (for backward compatibility), [option=0] to show raw clip angle (useful for debugging), [option=2] to have only horizontal and vertical alignments, or any number [option=3-n] for example [option=12] to have (360/12=) 30 degrees steps.
@dy @etpinard @alexcjohnson

@archmoj archmoj merged commit db308a3 into master Oct 10, 2018
@archmoj archmoj deleted the rotate3d-axis-lables branch October 10, 2018 18:10
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

Successfully merging this pull request may close these issues.

1 participant