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

Alignment and offset aren't enough for label positioning #419

Open
alexcroox opened this issue Aug 7, 2024 · 0 comments
Open

Alignment and offset aren't enough for label positioning #419

alexcroox opened this issue Aug 7, 2024 · 0 comments

Comments

@alexcroox
Copy link

alexcroox commented Aug 7, 2024

I have a challange where a data point is on the top right of the graph. I need to prevent the label from cutting off with 2 challenges:

  1. Multiple lines in the label so I need to offset the vertical position to stop it clipping the top
  2. Wide label so I need to offset the horizontal position to stop it clipping the right

I can do 1. but not combined with 2.

Especially if the dynamic data is a tall wide line, I can have a large offset at 240degrees to solve the horizontal clipping, but then the top of the label is too far away from the point.

image

Ideally we'd have an offset top,right,left,bottom to have more flexibility.

Thanks!

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

No branches or pull requests

1 participant