ChartsVoronoiHandler API
API reference docs for the React ChartsVoronoiHandler component. Learn about the props, CSS, and other APIs of this exported module.
Component demos
Import
import { ChartsVoronoiHandler } from '@mui/x-charts/ChartsVoronoiHandler';
// or
import { ChartsVoronoiHandler } from '@mui/x-charts';
Name | Type | Default | Description |
---|---|---|---|
onItemClick | func | - | Callback fired when clicking on a scatter item. Signature: function(event: MouseEvent, scatterItemIdentifier: ScatterItemIdentifier) => void
|
voronoiMaxRadius | number | - | Defines the maximal distance between a scatter point and the pointer that triggers the interaction. If |
The component cannot hold a ref.