@lobehub/charts
Version:
React modern charts components built on recharts
25 lines (24 loc) • 971 B
TypeScript
import { ReactNode } from 'react';
import BaseChartProps from "../common/BaseChartProps";
export interface RadarChartProps extends BaseChartProps {
/**
* Format angle-axis labels. Receives the index value and the matching data row.
* Can return a string or ReactNode (e.g. colored `<tspan>`).
*/
angleAxisLabelFormatter?: (value: string | number, payload?: Record<string, any>) => ReactNode;
/**
* When true, series after the first are rendered at `secondaryOpacity`.
* @default true
*/
dimSecondarySeries?: boolean;
fillOpacity?: number;
/**
* Opacity applied to series after the first when `dimSecondarySeries` is enabled.
* @default 0.25
*/
secondaryOpacity?: number;
shape?: 'polygon' | 'circle';
showRadiusAxis?: boolean;
}
declare const RadarChart: import("react").ForwardRefExoticComponent<RadarChartProps & import("react").RefAttributes<HTMLDivElement>>;
export default RadarChart;