D3-graph-gallery icon indicating copy to clipboard operation
D3-graph-gallery copied to clipboard

Dots in margin area after zoom in "Update X axis limits on scatterplot"

Open jobouJP opened this issue 2 years ago • 1 comments

Hi, I noticed that in your exemple "Update X axis limits on scatterplot", if you put a scale of 7 for exemple, some dots that are above 7 are displayed passed the end of the axis in the margin area.
image. Is there a way to avoid this ? Thank you

jobouJP avatar Mar 08 '22 21:03 jobouJP

I actually find a solution. Adding a clip path attr when adding the dots do the trick.

jobouJP avatar Mar 08 '22 21:03 jobouJP