import React, { CSSProperties } from 'react'; import * as echarts from 'echarts/core'; import ReactEcharts from 'echarts-for-react'; import { LineSeriesOption } from 'echarts/charts'; import { GridComponentOption, TooltipComponentOption } from 'echarts/components'; type ECOption = echarts.ComposeOption; export interface MultiLineProps { xAxisData: string[]; yAxis: { name: string; }[]; seriesData: { name: string; data: { name: string; value: string | number | null; }[]; yAxisIndex: number; }[]; style?: CSSProperties; /** 控制是否自动轮播 */ autoLoop?: boolean; /** 自动轮播的时长,默认为2s */ duration?: number; config?: ECOption; inModal?: boolean; /** 图表交互事件 */ onEvents?: Record void>; /** 图表渲染器 */ renderer?: 'canvas' | 'svg'; lineColors?: [string, string][]; /** 控制是否显示y轴的线,默认显示 */ showYAxisLine?: boolean; } /** 折线图1 */ declare const _default: React.ForwardRefExoticComponent>; export default _default;