powerbi desktop - vega clip horizontally and not vertically - Stack Overflow

Is there a way to clip marks horizontally only?When setting "clip": true it clips both hori

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744060812a4551740.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信