From d4f6bf8a7b6a9de285f53c91eaf3988a99827ac6 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 Mar 2017 00:45:52 +0900 Subject: [PATCH] [Client] Better chart --- src/web/app/common/tags/activity-table.tag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/app/common/tags/activity-table.tag b/src/web/app/common/tags/activity-table.tag index 4374e0e9c..42a40ba4c 100644 --- a/src/web/app/common/tags/activity-table.tag +++ b/src/web/app/common/tags/activity-table.tag @@ -25,7 +25,7 @@ user_id: this.user.id }).then(data => { data.forEach(d => d.total = d.posts + d.replies + d.reposts); - this.peak = Math.max.apply(null, data.map(d => d.total)); + this.peak = Math.max.apply(null, data.map(d => d.total)) / 2; let x = 0; data.reverse().forEach(d => { d.x = x;