MarkPlot API
API reference docs for the React MarkPlot component. Learn about the props, CSS, and other APIs of this exported module.
Component demos
Import
import { MarkPlot } from '@mui/x-charts/LineChart';
// or
import { MarkPlot } from '@mui/x-charts';
Callback fired when a line mark item is clicked.
Type:func
Signature:
function(event: React.MouseEvent, lineItemIdentifier: LineItemIdentifier) => void
event
The event source of the callback.lineItemIdentifier
The line mark item identifier.
The component cannot hold a ref.