import { BaseGraphOptions, BaseStyle, LineStyle, LabelOptions, ItemStyle, Emphsis, Blur } from './base'; import { MarkLineOptions } from '../markLine'; interface AreaStyleOptions extends BaseStyle { origin?: 'auto' | 'start' | 'end'; } interface MarkPoint { symbol?: string; symbolSize?: number; symbolRotate?: number; symbolOffset?: number; symbolKeepAspect?: boolean; label?: LabelOptions; itemStyle?: ItemStyle; emphasis?: Emphsis; blur?: Blur; animation?: boolean; } export interface LineGraphOptions extends BaseGraphOptions { symbol?: 'circle' | 'rect' | 'none'; stroke?: string; lineStyle?: LineStyle; areaStyle?: AreaStyleOptions; smooth?: boolean; sampling?: boolean; dimension?: any[]; data?: any; // TODO: 统一data格式 markPoint?: MarkPoint; markLine?: MarkLineOptions; // markArea?: MarkArea, animation?: boolean; yAxisIndex?: number; }