@mui/x-charts
Version:
The community edition of the Charts components (MUI X).
27 lines • 1.37 kB
TypeScript
import * as React from 'react';
import { ChartsLegendSlotProps, ChartsLegendSlots } from "../ChartsLegend/index.js";
import { ChartsOverlayProps, ChartsOverlaySlotProps, ChartsOverlaySlots } from "../ChartsOverlay/ChartsOverlay.js";
import { RadarGridProps } from "./RadarGrid/index.js";
import { RadarDataProviderProps } from "./RadarDataProvider/RadarDataProvider.js";
import { RadarAxisHighlightProps } from "./RadarAxisHighlight/index.js";
import { ChartsTooltipSlotProps, ChartsTooltipSlots } from "../ChartsTooltip/index.js";
export interface RadarChartSlots extends ChartsTooltipSlots, ChartsOverlaySlots, ChartsLegendSlots {}
export interface RadarChartSlotProps extends ChartsTooltipSlotProps, ChartsOverlaySlotProps, ChartsLegendSlotProps {}
export interface RadarChartProps extends RadarDataProviderProps, Omit<RadarGridProps, 'classes'>, Omit<Partial<RadarAxisHighlightProps>, 'classes'>, Omit<ChartsOverlayProps, 'slots' | 'slotProps'> {
/**
* If `true`, the legend is not rendered.
*/
hideLegend?: boolean;
/**
* Overridable component slots.
* @default {}
*/
slots?: RadarChartSlots;
/**
* The props used for each component slot.
* @default {}
*/
slotProps?: RadarChartSlotProps;
}
declare const RadarChart: React.ForwardRefExoticComponent<RadarChartProps & React.RefAttributes<SVGSVGElement>>;
export { RadarChart };