Browse Source

[饼图第一版]

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

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

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

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

@ -4,6 +4,5 @@
span{
font-size: 25px;
text-align: center;
color: #000000;
}
}
}

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 13:49:38
* @LastEditTime: 2020-09-02 14:21:52
*/
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