Angular8使用Echarts4.9.0(不会有‘Can‘t bind to ‘options‘ since it isn‘t a known property of ‘div‘.ng’)
HTML页面
<div #gaugeChart id="gaugeChart" style="height: 300px;"></div>
在需要使用echarts的组件的component.ts引入下面的代码
import { Component, ElementRef, ViewChild } from '@angular/core';
import * as echarts from 'echarts';
export class EvaluationDetails.
原创
2020-10-27 19:00:21 ·
398 阅读 ·
0 评论