Skip to content
Snippets Groups Projects
Commit d4f6bf8a authored by syuilo's avatar syuilo
Browse files

[Client] Better chart

parent 560d315c
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment