export interface FChartOption { [key: string]: any; title?: string; description?: string; type?: string; /** * @deprecated */ barOrient?: string; data?: any[] | { [key: string]: any; }; legend?: FChartLegend; tooltip?: FChartTooltip; toolbox?: FChartToolbox; grid?: FChartGrid; xAxis?: FChartAxis; yAxis?: FChartAxis; series?: FChartSeries[]; visualMap?: FChartVisualMap; geo?: FChartGeo; } export interface FChartLegend { [key: string]: any; show?: boolean; type?: string; orient?: string; right?: number | string; bottom?: number | string; } export interface FChartTooltip { [key: string]: any; show?: boolean; trigger?: string; } export interface FChartToolbox { [key: string]: any; show?: boolean; dataZoom?: boolean; dataView?: boolean; magicType?: string[]; restore?: boolean; } export interface FChartGrid { [key: string]: any; show?: boolean; containLabel?: boolean; } export interface FChartAxis { [key: string]: any; type?: string; data?: string[]; } export interface FChartSeries { [key: string]: any; type?: string; name?: string; coordinateSystem?: string; center?: Array; radius?: number | string | Array; label?: { show?: boolean; position?: string | string[] | number[]; [key: string]: any; }; angleField?: string; nameField?: string; xField?: string; yField?: string; areaStyle?: { [key: string]: any; }; smooth?: boolean; } export interface FChartVisualMap { [key: string]: any; min?: number; max?: number; splitNumber?: number; color?: string[]; } export interface FChartGeo { [key: string]: any; map?: string; roam?: boolean | string; itemStyle: { normal: { areaColor: '#323c48'; borderColor: '#111'; }; emphasis: { areaColor: '#2a333d'; }; }; } export interface FChartStyle { [key: string]: any; normal: { areaColor: string; borderColor: string; }; emphasis: { areaColor: string; }; }