Skip to content

Support dx, dy on all marks? #379

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

Closed
Fil opened this issue May 12, 2021 · 0 comments · Fixed by #488
Closed

Support dx, dy on all marks? #379

Fil opened this issue May 12, 2021 · 0 comments · Fixed by #488
Assignees
Labels
enhancement New feature or request

Comments

@Fil
Copy link
Contributor

Fil commented May 12, 2021

Sometimes for presentation purposes you want e.g. a tickX to be off by x pixels

@Fil Fil added the enhancement New feature or request label May 12, 2021
@Fil Fil self-assigned this May 12, 2021
@mbostock mbostock changed the title support dx, dy on all marks? Support dx, dy on all marks? May 12, 2021
Fil added a commit that referenced this issue Aug 7, 2021
On all marks except text, dx, dy are rendered as a transform(translate) property, possibly with the 0.5px offset on high-density screens.
On text marks, the dx and dy properties are used.

closes #379
mbostock pushed a commit that referenced this issue Sep 7, 2021
On all marks except text, dx and dy are rendered as a transform
(translate) property, possibly with the 0.5px offset on high-density
screens. On text marks, the dx and dy properties are used.
mbostock added a commit that referenced this issue Sep 7, 2021
* fix #379; universal dx and dy

On all marks except text, dx and dy are rendered as a transform
(translate) property, possibly with the 0.5px offset on high-density
screens. On text marks, the dx and dy properties are used.

* update README

Co-authored-by: Mike Bostock <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant