Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这里是 vega-editor 中的一个例子
我不希望 dateTime 5 和 dateTime 7 连接,因为它们不是连续的。想法是根据某些条件在叠加层上绘图,并且仅在计数> = 5时连接。
有没有人试过这个?
您可以替换您的过滤器语句:
{"filter": "datum.count >= 5"}
使用将过滤值设置为 null 的计算语句:
{"as": "count", "calculate": "if(datum.count >= 5, datum.count, null)"}
结果在这里