LineHighlightElement API
API reference docs for the React LineHighlightElement component. Learn about the props, CSS, and other APIs of this exported module.
Demos
Import
import { LineHighlightElement } from '@mui/x-charts/LineChart';
// or
import { LineHighlightElement } from '@mui/x-charts';
// or
import { LineHighlightElement } from '@mui/x-charts-pro/LineChart';
// or
import { LineHighlightElement } from '@mui/x-charts-pro';
// or
import { LineHighlightElement } from '@mui/x-charts-premium/LineChart';
// or
import { LineHighlightElement } from '@mui/x-charts-premium';Learn about the difference by reading this guide on minimizing bundle size.
| Name | Type | Description |
|---|---|---|
| color* | string | |
| seriesId* | string | |
| shape* | 'circle' | 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye' | |
| x* | number | |
| y* | number |
The component cannot hold a ref.
Source code
If you did not find the information in this page, consider having a look at the implementation of the component for more detail.