antvis/G2

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

yanckst posted onGitHub

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

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

<!-- generated by antv-issue-helper. DO NOT REMOVE -->


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

const view1 = chart.createView({
      limitInPlot: true
});
posted by yanckst almost 4 years ago

Fund this Issue

$0.00
Funded

Pull requests