import { DataItem, LineGraphOptions } from '../../models'; import Canvas from '../../renderer/canvas'; import AtomComponent from '../../atomComponent'; import { SeriesCategory } from '../../constants'; interface Series { name?: string; data: DataItem[]; options: LineGraphOptions; } export default class Line extends AtomComponent { private static readonly defaultOptions; protected seriesCategory: SeriesCategory; private rawSeries; private series; private selectedIndex; private disabledSeriesNameSet; private xAxisOptions; constructor(id: string, chart: any, canvas: Canvas, series: Series[]); render(): void; private drawMarkLine; private update; /** * 事件绑定 * tap事件触发相应区域symbol高亮、tooltip显示 */ private bindInteraction; private bindLegendTap; private generatePoints; private drawSymbol; private drawLine; private processStyle; private processSeries; private computeStrokeColor; } export {};