Browse Source

[新增]饼状图第一版

master
chenjingyu 4 years ago
parent
commit
61e4fee183
  1. 4
      src/app/statistic-analysis/state/page-one/page-one.component.html
  2. 3
      src/app/statistic-analysis/state/page-one/page-one.component.ts

4
src/app/statistic-analysis/state/page-one/page-one.component.html

@ -4,11 +4,11 @@
* @Author: sueRimn
* @Date: 2020-09-01 15:24:39
* @LastEditors: sueRimn
* @LastEditTime: 2020-09-02 14:24:20
* @LastEditTime: 2020-09-02 14:25:47
-->
<body>
<!--饼状图 -->
<!--饼状图 -->
<div id="indexBzt" style="width: 100%;height: 100%;" ></div>
</body>

3
src/app/statistic-analysis/state/page-one/page-one.component.ts

@ -4,7 +4,7 @@
* @Author: sueRimn
* @Date: 2020-09-01 15:24:39
* @LastEditors: sueRimn
* @LastEditTime: 2020-09-02 14:24:12
* @LastEditTime: 2020-09-02 14:26:29
*/
import { Component, OnInit } from '@angular/core';
//import * as echarts from '';
@ -51,6 +51,7 @@ export class PageOneComponent implements OnInit {
backgroundColor:'rgba(255,255,255,1)',//通过设置rgba调节背景颜色与透明度
borderWidth:'1',
borderRadius :'0'
},
legend: {
orient: 'vertical',

Loading…
Cancel
Save