Kaynağa Gözat

完善仪表盘样式

master
lijie.hu 1 yıl önce
ebeveyn
işleme
77409c2e62
3 değiştirilmiş dosya ile 21 ekleme ve 8 silme
  1. +2
    -2
      src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css
  2. +2
    -3
      src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html
  3. +17
    -3
      src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts

+ 2
- 2
src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.css Dosyayı Görüntüle

@@ -35,8 +35,8 @@

.chart-container {
width: 13rem;
height: 13rem;
width: 12rem;
height: 12rem;
}

+ 2
- 3
src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.html Dosyayı Görüntüle

@@ -1,7 +1,6 @@
<div class="chart-card">
<div class="chart-container">
<div *ngIf="chartId" id="{{ chartId }}" class="chart-container"></div>
</div>
<div *ngIf="chartId" id="{{ chartId }}" class="chart-container"></div>

<p class="chart-text">{{ text }}</p>
<button class="chart-button">{{ locationTitle1 }}</button>
<button class="chart-button">{{ locationTitle2 }}</button>


+ 17
- 3
src/app/routes/data-v/lj-text-dashboard/lj-text-dashboard.component.ts Dosyayı Görüntüle

@@ -48,14 +48,28 @@ export class DataVLjTextDashboardComponent implements OnInit {
progress: {
show: true
},
itemStyle: {
color: '#00EFF9'
},
pointer: {
itemStyle: {
color: '#00EFF9'
}
},

axisLine: {
lineStyle: {
color: [[1, '#E8E8E8']] // 底色
}
},
detail: {
valueAnimation: true,
formatter: '{value}'
formatter: '{value}%'
},
data: [
{
value: 50,
name: 'SCORE'
value: 20,
name: ''
}
]
}


Yükleniyor…
İptal
Kaydet