repeatMatrix
上一篇
facetRect
下一篇
spaceFlex
Loading...
根据字段的数量对空间进行划分,然后利用数据在这些子空间可视化。
{"paddingLeft": 50,"paddingBottom": 60,"scale": {"y": {"zero": true}},"call": {}}
更多的案例,可以查看图表示例页面。
repeatMatrix 的底层实现和 mark 一致,所以在配置上有很多是一样的。
repeatMatrix
对应的配置都可以使用 API 进行设置,例如:
对于 repeatMatrix 有自己独特的 encode 通道。
通道 | 描述 | 类型 | 默认值 |
---|---|---|---|
x | 指定 x 方向上字段列表,用于 x 方向空间分片 | string[] | |
y | 指定 y 方向上字段列表,用于 y 方向空间分片 | string[] |