mirror of
https://gitee.com/antv/g6.git
synced 2024-12-15 18:11:08 +08:00
72 lines
995 B
Markdown
72 lines
995 B
Markdown
|
### delegateStyle
|
|||
|
|
|||
|
**类型**:`ShapeStyle`
|
|||
|
|
|||
|
**默认值**:`{}`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:区域样式
|
|||
|
|
|||
|
### maxR
|
|||
|
|
|||
|
**类型**:`number`
|
|||
|
|
|||
|
**默认值**:`100`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:透镜半径的最大值
|
|||
|
|
|||
|
### minR
|
|||
|
|
|||
|
**类型**:`number`
|
|||
|
|
|||
|
**默认值**:`50`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:透镜半径的最小值
|
|||
|
|
|||
|
### r
|
|||
|
|
|||
|
**类型**:`number`
|
|||
|
|
|||
|
**默认值**:`300`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:透镜半径
|
|||
|
|
|||
|
### scaleRBy
|
|||
|
|
|||
|
**类型**:`'wheel'` | `'drag'` | `'unset'`
|
|||
|
|
|||
|
**默认值**:`'drag'`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:透镜半径的缩放方式
|
|||
|
|
|||
|
> 即在透镜中通过鼠标滚轮或者拖拽来缩放透镜半径
|
|||
|
|
|||
|
### showLabel
|
|||
|
|
|||
|
**类型**:`boolean`
|
|||
|
|
|||
|
**默认值**:`true`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:是否展示透镜区域内对象的 label
|
|||
|
|
|||
|
### trigger
|
|||
|
|
|||
|
**类型**:`'mousemove'` | `'click'` | `'drag'`
|
|||
|
|
|||
|
**默认值**:`'mousemove'`
|
|||
|
|
|||
|
**是否必须**:false
|
|||
|
|
|||
|
**说明**:触发交互的方式
|