RhoInc / Webcharts

Reusable, flexible, interactive charts with JavaScript
MIT License
34 stars 6 forks source link

Scatter plots circles on the edge of plots are cut in half #250

Open jwildfire opened 5 years ago

jwildfire commented 5 years ago

As shown below (link) image

jwildfire commented 5 years ago

This is definitely caused by the changes made to clip-path in #235. Not sure the best solution ... probably want to automatically add some padding to the g containing the marks (settings.radius/2 pixels worth) whenever there are circle marks (and also text maybe?). Could also add a mark-specific option to easily toggle the clip-path property ...

@samussiah @pburnsdata Any thoughts?

jwildfire commented 5 years ago

I think we can just apply this fix from @samussiah in eDish.