import React, { CSSProperties } from 'react'; import * as echarts from 'echarts/core'; import ReactEcharts from 'echarts-for-react'; import { RadarSeriesOption } from 'echarts/charts'; import { TooltipComponentOption } from 'echarts/components'; type ECOption = echarts.ComposeOption; export type IndicatorItem = { name: string; unit: string; max: string; }; export interface RadarProps { seriesData: { name: string; data: (number | string)[]; }[]; indicatorData: { name: string; max: string; unit: string; }[]; style?: CSSProperties; config?: ECOption; inModal?: boolean; radarColors?: [string, string][]; /** 图表交互事件 */ onEvents?: Record void>; /** 图表渲染器 */ renderer?: 'canvas' | 'svg'; } /** 其他1-雷达图 */ declare const _default: React.ForwardRefExoticComponent>; export default _default;