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

Segment overlap #543

Open
jason30704 opened this issue Aug 30, 2024 · 4 comments
Open

Segment overlap #543

jason30704 opened this issue Aug 30, 2024 · 4 comments

Comments

@jason30704
Copy link

Hello,
If the current segment exceeds the scope of the view, the label or line will be covered.
Is it possible to show this part?

1.mp4
@chrisn
Copy link
Member

chrisn commented Aug 30, 2024

We don't really have a way to do that, drawing is clipped to the size of the canvas. As you're using custom segment markers, one option is to adjust the label position when the marker is near the edge of the canvas.

@jason30704
Copy link
Author

Thanks for reply!

@jason30704
Copy link
Author

Hello,
In the opposite case, if the UI has a radius, it will exceed the range. Can this case be handled?
image

@chrisn
Copy link
Member

chrisn commented Sep 2, 2024

It works for me if I apply both border-radius and overflow: clip CSS styles to the container divs:

#zoomview-container {
  overflow: clip;
  border-radius: 10px;
}

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

2 participants