@mui/x-charts
Version:
The community edition of MUI X Charts components.
28 lines • 968 B
text/typescript
import * as React from 'react';
import { type SeriesId } from "../models/seriesType/common.mjs";
interface LineHighlightElementCommonProps {
seriesId: SeriesId;
color: string;
x: number;
y: number;
}
export type LineHighlightElementProps = (LineHighlightElementCommonProps & {
shape: 'circle';
} & Omit<React.SVGProps<SVGCircleElement>, 'ref'>) | (LineHighlightElementCommonProps & {
shape: 'cross' | 'diamond' | 'square' | 'star' | 'triangle' | 'wye';
} & Omit<React.SVGProps<SVGPathElement>, 'ref'>);
/**
* Demos:
*
* - [Lines](https://mui.com/x/react-charts/lines/)
* - [Line demonstration](https://mui.com/x/react-charts/line-demo/)
*
* API:
*
* - [LineHighlightElement API](https://mui.com/x/api/charts/line-highlight-element/)
*/
declare function LineHighlightElement(props: LineHighlightElementProps): import("react/jsx-runtime").JSX.Element;
declare namespace LineHighlightElement {
var propTypes: any;
}
export { LineHighlightElement };