-
Notifications
You must be signed in to change notification settings - Fork 31
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
mark: Add anchor style to shift marks #584
Conversation
Would it be easier to add anchors to the mark function? "tip", "center" and "inset" (or "base") could work |
As an addition? Because this feature is also useful when placing a mark on a path, e.g., in the center. |
No, instead of using the |
@fenjalien in such case how it would look like if I would like to use mark center as placement origin? |
|
Changed. You can now specify one of the anchors |
73aeea2
to
95c93e6
Compare
95c93e6
to
05f61cb
Compare
Can we merge this? |
@fenjalien Not sure about the name
origin
. The idea is to have a style key that shifts themark origin along its (local) x-axis: 0% tip, 100% base.
Fixes #578.