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

Position of the axis label with labelAnchor: right #1971

Open
severo opened this issue Jan 12, 2024 · 5 comments
Open

Position of the axis label with labelAnchor: right #1971

severo opened this issue Jan 12, 2024 · 5 comments
Labels
question Further information is needed

Comments

@severo
Copy link

severo commented Jan 12, 2024

Related to #375

I thought labelAnchor: right would put the label under the axis rule, not that far to the right.

OK

Capture d’écran 2024-01-12 à 12 19 51 Capture d’écran 2024-01-12 à 12 20 08

Not expected

Capture d’écran 2024-01-12 à 12 20 19
@Fil
Copy link
Contributor

Fil commented Jan 12, 2024

Related: #375

@mbostock
Copy link
Member

This is the intended behavior. It’s not great in this case, but it works well when there’s less right margin. We should retitle this issue to be something actionable; we need a proposal for an alternate approach or option.

@mbostock mbostock added the question Further information is needed label Jan 12, 2024
@severo
Copy link
Author

severo commented Jan 12, 2024

Ok, we can also close the issue.

@Fil
Copy link
Contributor

Fil commented Jan 12, 2024

Please don't close it; we want to make this possible (easier). Maybe it's another value for the labelAnchor option (besides left, center, right); axis-right or something?

@Fil
Copy link
Contributor

Fil commented Jan 12, 2024

Related #1414

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is needed
Projects
None yet
Development

No branches or pull requests

3 participants