diff --git a/Taipei-City-Dashboard-FE/src/App.vue b/Taipei-City-Dashboard-FE/src/App.vue
index 0ce6ed19..80638c4f 100644
--- a/Taipei-City-Dashboard-FE/src/App.vue
+++ b/Taipei-City-Dashboard-FE/src/App.vue
@@ -9,9 +9,10 @@ Testing: Jack Huang (Data Scientist), Ian Huang (Data Analysis Intern)
@@ -84,6 +115,16 @@ onMounted(() => {
+
+
下次更新:{{ formattedTimeToUpdate }}
+
@@ -108,5 +149,23 @@ onMounted(() => {
flex-direction: column;
}
}
+
+ &-update {
+ position: fixed;
+ bottom: 0;
+ right: 20px;
+ color: white;
+ opacity: 0.3;
+ transition: opacity 0.3s;
+ user-select: none;
+
+ p {
+ color: var(--color-complement-text);
+ }
+
+ &:hover {
+ opacity: 1;
+ }
+ }
}
diff --git a/Taipei-City-Dashboard-FE/src/components/charts/ColumnLineChart.vue b/Taipei-City-Dashboard-FE/src/components/charts/ColumnLineChart.vue
index c27d81f5..5b24e043 100644
--- a/Taipei-City-Dashboard-FE/src/components/charts/ColumnLineChart.vue
+++ b/Taipei-City-Dashboard-FE/src/components/charts/ColumnLineChart.vue
@@ -42,9 +42,6 @@ const chartOptions = ref({
grid: {
show: false,
},
- labels: {
- datetimeUTC: false,
- },
legend: {
show: true,
markers: {
@@ -104,6 +101,9 @@ const chartOptions = ref({
color: "var(--color-complement-text)",
},
},
+ labels: {
+ datetimeUTC: false,
+ },
tooltip: {
enabled: false,
},
diff --git a/Taipei-City-Dashboard-FE/src/components/charts/TimelineSeparateChart.vue b/Taipei-City-Dashboard-FE/src/components/charts/TimelineSeparateChart.vue
index b0566292..e2599ea3 100644
--- a/Taipei-City-Dashboard-FE/src/components/charts/TimelineSeparateChart.vue
+++ b/Taipei-City-Dashboard-FE/src/components/charts/TimelineSeparateChart.vue
@@ -21,9 +21,6 @@ const chartOptions = ref({
grid: {
show: false,
},
- labels: {
- datetimeUTC: false,
- },
legend: {
show: props.series.length > 1 ? true : false,
},
@@ -70,6 +67,9 @@ const chartOptions = ref({
crosshairs: {
show: false,
},
+ labels: {
+ datetimeUTC: false,
+ },
tooltip: {
enabled: false,
},
diff --git a/Taipei-City-Dashboard-FE/src/components/charts/TimelineStackedChart.vue b/Taipei-City-Dashboard-FE/src/components/charts/TimelineStackedChart.vue
index 09c90ac0..62a943a1 100644
--- a/Taipei-City-Dashboard-FE/src/components/charts/TimelineStackedChart.vue
+++ b/Taipei-City-Dashboard-FE/src/components/charts/TimelineStackedChart.vue
@@ -22,9 +22,6 @@ const chartOptions = ref({
grid: {
show: false,
},
- labels: {
- datetimeUTC: false,
- },
legend: {
show: props.series.length > 1 ? true : false,
},
@@ -71,6 +68,9 @@ const chartOptions = ref({
crosshairs: {
show: false,
},
+ labels: {
+ datetimeUTC: false,
+ },
tooltip: {
enabled: false,
},
diff --git a/Taipei-City-Dashboard-FE/src/views/DashboardView.vue b/Taipei-City-Dashboard-FE/src/views/DashboardView.vue
index dec986d2..a5ca9208 100644
--- a/Taipei-City-Dashboard-FE/src/views/DashboardView.vue
+++ b/Taipei-City-Dashboard-FE/src/views/DashboardView.vue
@@ -79,7 +79,7 @@ function handleOpenSettings() {
diff --git a/Taipei-City-Dashboard-FE/src/views/MapView.vue b/Taipei-City-Dashboard-FE/src/views/MapView.vue
index 7d815ef9..8c4aa80f 100644
--- a/Taipei-City-Dashboard-FE/src/views/MapView.vue
+++ b/Taipei-City-Dashboard-FE/src/views/MapView.vue
@@ -104,7 +104,7 @@ function handleOpenSettings() {