Browse Source

第一个页面饼状图第一版

master
chenjingyu 4 years ago
parent
commit
dc841a4bb1
  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 * @Author: sueRimn
* @Date: 2020-09-01 15:24:39 * @Date: 2020-09-01 15:24:39
* @LastEditors: sueRimn * @LastEditors: sueRimn
* @LastEditTime: 2020-09-02 14:22:10 * @LastEditTime: 2020-09-02 14:24:20
--> -->
<body> <body>
<!--饼状图--> <!--饼状图 -->
<div id="indexBzt" style="width: 100%;height: 100%;" ></div> <div id="indexBzt" style="width: 100%;height: 100%;" ></div>
</body> </body>

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

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

Loading…
Cancel
Save