最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin3浏览0评论

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.

发布评论

评论列表(0)

  1. 暂无评论