Brush
Brushing in REAVIZ allows you to interactively specify a one- or two-dimensional selected region using a pointing gesture, such as by clicking and dragging the mouse. This feature is often used to select discrete elements, such as dots in a scatterplot, making it a powerful tool for data exploration and interaction.
Where to use:
- Select Data Points: Ideal for selecting and highlighting specific data points in a chart.
- Interactive Data Exploration: Useful for interactive exploration and analysis of data.
- Zoom and Filter: Great for zooming into specific regions or filtering data based on selection.
Examples
API
ChartBrushΒ
BrushΒ
| Name | Type | Default |
|---|---|---|
height | number | |
width | number | |
disabled | boolean | |
start | number | |
end | number | |
onBrushChange | (e: BrushChangeEvent) => void |
BrushHandleΒ
| Name | Type | Default |
|---|---|---|
height | numberHeight of the handle. Set internally by the parent component. | |
onHandleDrag | (deltaX: number) => voidFires when the handle is dragged. |
BrushSliceΒ
Last updated on