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

[BUG] Points are going under the axe even specifying the limitInPlot option #3458

Closed
1 task done
yanckst opened this issue Jun 3, 2021 · 1 comment
Closed
1 task done

Comments

@yanckst
Copy link

yanckst commented Jun 3, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

1- Go to the link
2- Mouse zoom or drag the points
3- The dots goes under the axes and hiding the labels (must not)

Environment Info
g2 4.1.17
System -
Browser Chrome
@yanckst
Copy link
Author

yanckst commented Jun 3, 2021

Found the issue. You need to put limitInPlot inside the createView not into the Chart

const view1 = chart.createView({
      limitInPlot: true
});

@yanckst yanckst closed this as completed Jun 3, 2021
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