-
Notifications
You must be signed in to change notification settings - Fork 0
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
Re-think current margin setup #64
Comments
Make axis rendering only grow downwards and to the right. This means that merely something like available-width and available-height will be sent in to the axis. |
This should be a separate abstraction that uses scale behind the scenes. |
This is because both x and y scales/axis may contribute to margins. |
For example: Y axis labels will contribute to margins that will determine the width. |
IF x axis labels should be allowed to be rotated, then they also may severely contribute to height... |
But usually y axis (ordinal) labels will have the greatest impact on width. |
Probably should use something like [:g (translate 15 15) ... at the top (?)
The text was updated successfully, but these errors were encountered: