@mui/x-charts
Version:
The community edition of MUI X Charts components.
28 lines • 1.01 kB
TypeScript
import { SeriesId } from "../../models/seriesType/common.js";
/**
* This hook provides all the data needed to display radar series.
* @param querySeriesId The id of the series to display
* @returns
*/
export declare function useRadarSeriesData(querySeriesId?: SeriesId): {
seriesId: SeriesId;
isSeriesHighlighted: boolean;
isSeriesFaded: boolean;
points: {
x: number;
y: number;
isItemHighlighted: boolean;
isItemFaded: boolean;
dataIndex: number;
}[];
type: "radar";
label?: string | ((location: "tooltip" | "legend") => string) | undefined;
highlightScope?: Partial<import("../../index.js").HighlightScope> | undefined;
labelMarkType?: "line" | "square" | "circle" | import("react").ComponentType<import("../../index.js").ChartsLabelCustomMarkProps> | undefined;
hideMark?: boolean | undefined;
fillArea?: boolean | undefined;
data: number[];
color: string;
id: SeriesId;
valueFormatter: import("../../internals/index.js").SeriesValueFormatter<number>;
}[];