import Chart from '../core/chart'; import { GraphType, SeriesOptions } from '../models'; import { Renderer } from '../atomComponent'; export default class Graph implements Renderer { chart: Chart; private type; private series; id: string; name: string; graphInstance: any; constructor(chart: Chart, type: GraphType, series: Array); createGraph(): any; render(): any; /** * 绘制折线图 */ private createLine; /** * 绘制条形图(柱状图) */ private createBar; /** * 绘制饼图 */ private createPie; /** * Venn图 */ private createVenn; }