Is there a way to clip marks horizontally only? When setting "clip": true
it clips both horizontally and vertically.
The containing group changes vertical size - when decreasing in size the contained marks get smaller, however when the group increases size, the marks stay at their previous size.
This is fixed if "clip": false
however I need to clip horizontally because the chart x scale is dynamic and marks outside the group are visible.
Update: I have a workaround where I filter the mark data based on the horizontal scale, however I feel this is not a good solution as it required a filter transformation which might be unnecessary.