From 3157782e25f37f27042e26bb307d6f455ba70bed Mon Sep 17 00:00:00 2001
From: SHAOJIAHAO <55341701@qq.com>
Date: Wed, 15 Jul 2020 14:14:49 +0800
Subject: [PATCH] =?UTF-8?q?[=E5=AE=8C=E5=96=84]=E5=9B=BE=E6=A0=87=E6=A0=87?=
=?UTF-8?q?=E9=A2=98=E4=BD=8D=E7=BD=AE=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/app/ui/eharts-statistics/eharts-statistics.component.ts | 6 +++++-
.../learning-record-details.component.html | 3 ++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/app/ui/eharts-statistics/eharts-statistics.component.ts b/src/app/ui/eharts-statistics/eharts-statistics.component.ts
index f189e82..4493ff2 100644
--- a/src/app/ui/eharts-statistics/eharts-statistics.component.ts
+++ b/src/app/ui/eharts-statistics/eharts-statistics.component.ts
@@ -150,7 +150,11 @@ export class EhartsStatisticsComponent implements OnInit {
let that = this
let chartHynyxf = echarts.init(document.getElementById('center'), 'skinUpp');
let option = {
- title: { text: that.idName },
+ title: {
+ text: that.idName,
+ left:45,
+ top:20
+ },
tooltip: {
trigger: 'axis',
axisPointer: {type: 'shadow'}
diff --git a/src/app/ui/learning-record-details/learning-record-details.component.html b/src/app/ui/learning-record-details/learning-record-details.component.html
index 59eb70d..460a05e 100644
--- a/src/app/ui/learning-record-details/learning-record-details.component.html
+++ b/src/app/ui/learning-record-details/learning-record-details.component.html
@@ -25,7 +25,7 @@
{{item.time}}
@@ -37,6 +37,7 @@