elementSelectByX
Previous
elementSelectByColor
Next
fisheye
Loading...
选择和鼠标点击的元素拥有相同 x 通道值的元素。
{state: {unselected: { opacity: 0.5 },selected: { fill: 'red' }},interaction: {elementSelectByX: true}}
属性 | 描述 | 类型 | 默认值 |
---|---|---|---|
link | 是否展示连接线 | boolean | false |
background | 是否高亮背景 | boolean | false |
offset | 主方向的偏移量 | number | 0 |
link${StyleAttrs} | 连接线样式 | StyleAttrs | - |
background${StyleAttrs} | 背景的样式 | StyleAttrs | - |
single | 是否单选 | boolean | false |