-
Notifications
You must be signed in to change notification settings - Fork 176
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
For text, allow x and y to be specified as constant numbers #523
Labels
enhancement
New feature or request
Comments
Fil
added a commit
that referenced
this issue
Nov 24, 2021
… the anchor anchor can be any of "top", "bottom", "left", "right" or combinations such as "top-left" closes #523
Fil
added a commit
that referenced
this issue
Dec 17, 2021
… the anchor anchor can be any of "top", "bottom", "left", "right" or combinations such as "top-left" closes #523
Related #153 |
I don’t think we want to introduce this convention of literal positioning, and especially that we’d want x and y to behave differently for text marks. But I could see a frameAnchor option that controls the position for otherwise position-less marks; it would default to middle for the current behavior. |
Closing in favor of #683. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For manual labels, it’d be nice if you could specify x and y as constant numbers. Currently they can either be a channel or null; in the latter case the labels are placed in the center of the chart.
Related, it might also be nice to have an anchor option which allows the text to be positioned somewhere else relative to the surrounding frame; this would eliminate the need to hard-code dx and dy (e.g., in the geofacet example). The anchor option could accept values such as top, top-left, top-right, right, etc.
The text was updated successfully, but these errors were encountered: