Brushes笔刷 (d3-brush)
Select a one- or two-dimensional region using the mouse or touch. 用鼠标或者触控选择一个一维或者二维区域进行操作
- d3.brush - create a new two-dimensional brush.创建一个新的二维笔刷
- d3.brushX - create a brush along the x-dimension.沿x轴创建一个刷
- d3.brushY - create a brush along the y-dimension.沿y轴创建一个刷
- brush - apply the brush to a selection.在选择区间上应该一个刷
- brush.move - move the brush selection.移动笔刷区间
- brush.clear - clear the brush selection.清除笔刷区间
- brush.extent - define the brushable region.定义可以设置笔刷的区域
- brush.filter - control which input events initiate brushing.控制笔刷应用时的初始化
- brush.touchable - set the touch support detector.设施笔刷区域是否可触碰
- brush.keyModifiers - enable or disable key interaction.启用或关闭关键交互
- brush.handleSize - set the size of the brush handles.
- brush.on - listen for brush events.笔刷事件监听
- d3.brushSelection - get the brush selection for a given node.获取选定节点的上的笔刷选择区域