@mui/x-charts
Version:
The community edition of MUI X Charts components.
31 lines • 1.05 kB
text/typescript
import { type RadarSeriesAreaProps } from "./RadarSeriesPlot.types.mjs";
import { type RadarClasses } from "../radarClasses.mjs";
import type { SeriesId, HighlightItemIdentifierWithType } from "../../models/seriesType/index.mjs";
import type { HighlightState } from "../../hooks/useItemHighlightState.mjs";
interface GetPathPropsParams {
seriesId: SeriesId;
classes: RadarClasses;
getHighlightState: (item: HighlightItemIdentifierWithType<'radar'> | null) => HighlightState;
points: {
x: number;
y: number;
}[];
fillArea?: boolean;
color: string;
}
export declare function getPathProps(params: GetPathPropsParams): {
d: string;
fill: string;
stroke: string;
className: string;
strokeOpacity: number;
fillOpacity: number;
strokeWidth: number;
'data-highlighted': true | undefined;
'data-faded': true | undefined;
};
declare function RadarSeriesArea(props: RadarSeriesAreaProps): import("react/jsx-runtime").JSX.Element;
declare namespace RadarSeriesArea {
var propTypes: any;
}
export { RadarSeriesArea };