ChartsVoronoiHandler API
API reference docs for the React ChartsVoronoiHandler component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { ChartsVoronoiHandler } from '@mui/x-charts/ChartsVoronoiHandler';
// or
import { ChartsVoronoiHandler } from '@mui/x-charts';
// or
import { ChartsVoronoiHandler } from '@mui/x-charts-pro';
Learn about the difference by reading this guide on minimizing bundle size.
Name | Type | 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.