/** * @file 雷达 - types */ export interface RadarChartProps { /** * 种类信息 */ indicator: RadarIndicator; /** * 数据信息 */ sources: RadarSource[]; /** * 是否展示图例,默认 false */ legendVisible?: boolean; /** * 是否展示 tooltip,默认 false */ tooltipVisible?: boolean; /** * 雷达大小,默认 120 */ size?: RadarSize; } export declare type RadarIndicator = { /** * 种类名称 */ name: string; /** * 种类满分 */ max: number; }[]; export declare type RadarSource = { /** * 数据名称 */ name: string; /** * 数据 */ data: number[]; /** * 本数据面积颜色 */ areaColor?: string; /** * 本数据线条颜色 */ lineColor?: string; }; export declare type RadarSize = 120 | 400;