import { Component, OnInit, OnDestroy } from '@angular/core'; @Component({ selector: 'cm-chart-doc', templateUrl: './cm-chart-doc.component.html', styleUrls: ['./cm-chart-doc.component.css'] }) export class CosmosChartDocComponent implements OnInit, OnDestroy { apiPath = './docs/components/cm-chart-doc/cm-chart.api.json'; doc_1 = { title: "散点图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-1/cm-chart-doc-1.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-1/cm-chart-doc-1.component.ts' } doc_2 = { title: "折线图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-2/cm-chart-doc-2.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-2/cm-chart-doc-2.component.ts' } doc_3 = { title: "注状图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-3/cm-chart-doc-3.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-3/cm-chart-doc-3.component.ts' } doc_4 = { title: "饼图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-4/cm-chart-doc-4.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-4/cm-chart-doc-4.component.ts' } doc_5 = { title: "雷达图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-5/cm-chart-doc-5.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-5/cm-chart-doc-5.component.ts' } doc_6 = { title: "漏斗图", intro: `根据 echarts option 配置。`, htmlPath: './docs/components/cm-chart-doc/cm-chart-doc-6/cm-chart-doc-6.component.html', tsPath: './docs/components/cm-chart-doc/cm-chart-doc-6/cm-chart-doc-6.component.ts' } constructor() { } ngOnInit() { } ngOnDestroy() { } }