# Source: https://mui.com/x/api/charts/mark-plot.md

# MarkPlot API

## Demos

For examples and details on the usage of this React component, visit the component demo pages:

- [Charts - Areas demos](/x/react-charts/areas-demo/)
- [Charts - Line demos](/x/react-charts/line-demo/)
- [Charts - Lines](/x/react-charts/lines/)

## Import

```jsx
import { MarkPlot } from '@mui/x-charts/LineChart';
// or
import { MarkPlot } from '@mui/x-charts';
// or
import { MarkPlot } from '@mui/x-charts-pro';
// or
import { MarkPlot } from '@mui/x-charts-premium';
```

## Props

| Name | Type | Default | Required | Description |
|------|------|---------|----------|-------------|
| onItemClick | `function(event: React.MouseEvent<SVGPathElement, MouseEvent>, lineItemIdentifier: LineItemIdentifier) => void` | - | No |  |
| skipAnimation | `bool` | - | No |  |
| slotProps | `object` | `{}` | No |  |
| slots | `object` | `{}` | No |  |

> **Note**: The `ref` is forwarded to the root element.

## Slots

| Name | Default | Class | Description |
|------|---------|-------|-------------|
| mark | `undefined` | - |  |

## Source code

If you did not find the information on this page, consider having a look at the implementation of the component for more detail.

- [/packages/x-charts/src/LineChart/MarkPlot.tsx](https://github.com/mui/material-ui/tree/HEAD/packages/x-charts/src/LineChart/MarkPlot.tsx)