summaryrefslogtreecommitdiff
path: root/src/client/app
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-11-03 13:08:49 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-11-03 13:08:49 +0900
commit4853bc9414c3a38f9b8b79efe2b9ba0185d73e76 (patch)
tree5c137010e59425154d449986ada7d22296ae3e00 /src/client/app
parentBump @types/request from 2.47.1 to 2.48.0 (#3054) (diff)
downloadmisskey-4853bc9414c3a38f9b8b79efe2b9ba0185d73e76.tar.gz
misskey-4853bc9414c3a38f9b8b79efe2b9ba0185d73e76.tar.bz2
misskey-4853bc9414c3a38f9b8b79efe2b9ba0185d73e76.zip
Update src/client/app/admin/views/charts.vue
Diffstat (limited to 'src/client/app')
-rw-r--r--src/client/app/admin/views/charts.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/admin/views/charts.vue b/src/client/app/admin/views/charts.vue
index e95746a83b..0fe5b7c812 100644
--- a/src/client/app/admin/views/charts.vue
+++ b/src/client/app/admin/views/charts.vue
@@ -41,7 +41,7 @@
import Vue from 'vue';
import * as ApexCharts from 'apexcharts';
-const limit = 60;
+const limit = 80;
const sum = (...arr) => arr.reduce((r, a) => r.map((b, i) => a[i] + b));
const negate = arr => arr.map(x => -x);
@@ -208,24 +208,28 @@ export default Vue.extend({
return {
series: [{
name: 'All',
+ type: 'line',
data: this.format(type == 'combined'
? sum(this.stats.notes.local.inc, negate(this.stats.notes.local.dec), this.stats.notes.remote.inc, negate(this.stats.notes.remote.dec))
: sum(this.stats.notes[type].inc, negate(this.stats.notes[type].dec))
)
}, {
name: 'Renotes',
+ type: 'area',
data: this.format(type == 'combined'
? sum(this.stats.notes.local.diffs.renote, this.stats.notes.remote.diffs.renote)
: this.stats.notes[type].diffs.renote
)
}, {
name: 'Replies',
+ type: 'area',
data: this.format(type == 'combined'
? sum(this.stats.notes.local.diffs.reply, this.stats.notes.remote.diffs.reply)
: this.stats.notes[type].diffs.reply
)
}, {
name: 'Normal',
+ type: 'area',
data: this.format(type == 'combined'
? sum(this.stats.notes.local.diffs.normal, this.stats.notes.remote.diffs.normal)
: this.stats.notes[type].diffs.normal