summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/pages/admin/admin.chart.chart.ts4
-rw-r--r--src/client/app/desktop/views/pages/admin/admin.chart.vue4
2 files changed, 6 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/pages/admin/admin.chart.chart.ts b/src/client/app/desktop/views/pages/admin/admin.chart.chart.ts
index 9fb18fd039..6a241631e9 100644
--- a/src/client/app/desktop/views/pages/admin/admin.chart.chart.ts
+++ b/src/client/app/desktop/views/pages/admin/admin.chart.chart.ts
@@ -32,7 +32,9 @@ export default Vue.extend({
}]
},
tooltips: {
- intersect: false
+ intersect: false,
+ mode: 'x',
+ position: 'nearest'
}
}, this.opts || {}));
}
diff --git a/src/client/app/desktop/views/pages/admin/admin.chart.vue b/src/client/app/desktop/views/pages/admin/admin.chart.vue
index caaeeaeda1..4301f9978b 100644
--- a/src/client/app/desktop/views/pages/admin/admin.chart.vue
+++ b/src/client/app/desktop/views/pages/admin/admin.chart.vue
@@ -102,6 +102,7 @@ export default Vue.extend({
fill: false,
borderColor: '#555',
borderWidth: 2,
+ borderDash: [4, 4],
pointBackgroundColor: '#fff',
lineTension: 0,
data: data.map(x => ({ t: x.date, y: x.all }))
@@ -228,7 +229,8 @@ export default Vue.extend({
return [{
datasets: [{
label: local ? 'Local Drive Files' : 'Remote Drive Files',
- fill: false,
+ fill: true,
+ backgroundColor: 'rgba(246, 88, 79, 0.1)',
borderColor: '#f6584f',
borderWidth: 2,
pointBackgroundColor: '#fff',