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

Update of options to align axis labels and ticks in 3D scenes #15

Merged
merged 5 commits into from
Oct 12, 2018

Conversation

archmoj
Copy link
Contributor

@archmoj archmoj commented Oct 12, 2018

This PR review is 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

@alexcjohnson
Copy link
Contributor

@archmoj plotly/plotly.js#3084 looks great! Merging, will publish a new minor version.

@alexcjohnson alexcjohnson merged commit 09d4e31 into master Oct 12, 2018
@alexcjohnson alexcjohnson deleted the rotate3d-axis-lables branch October 12, 2018 19:45
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.

2 participants