@mui/x-charts
Version:
The community edition of MUI X Charts components.
31 lines • 939 B
TypeScript
import * as React from 'react';
import { SxProps, Theme } from '@mui/material/styles';
import { ChartsLabelMarkClasses } from "./labelMarkClasses.js";
export interface ChartsLabelCustomMarkProps {
className?: string;
/** Color of the series this mark refers to. */
color?: string;
}
export interface ChartsLabelMarkProps {
/**
* The type of the mark.
* @default 'square'
*/
type?: 'square' | 'circle' | 'line' | React.ComponentType<ChartsLabelCustomMarkProps>;
/**
* The color of the mark.
*/
color?: string;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ChartsLabelMarkClasses>;
className?: string;
sx?: SxProps<Theme>;
}
/**
* Generates the label mark for the tooltip and legend.
* @ignore - internal component.
*/
declare const ChartsLabelMark: React.ForwardRefExoticComponent<ChartsLabelMarkProps & React.RefAttributes<{}>>;
export { ChartsLabelMark };