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

Crosshair plugin - out of graph bounds selection filter #1039

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

n-gist
Copy link

@n-gist n-gist commented May 16, 2023

When the graph is zoomed in, crosshair can select points out of view area, drawing lines off graph.
Below is example where the area on the left is caused by axisLabelWidth, so it is inside crosshair drawing canvas.

chBounds

The same happens on the right side when using rightGap. Filtered by checking selectedPoint.x to be in [0,1]

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

Successfully merging this pull request may close these issues.

1 participant