1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-04 17:58:43 +09:00
This commit is contained in:
syuilo 2017-08-12 15:26:56 +09:00
parent d16b0ae064
commit 6391caa60c

View File

@ -144,7 +144,7 @@
</style>
<script>
this.viewBoxX = 365;
this.viewBoxY = 60;
this.viewBoxY = 80;
this.data = this.opts.data.reverse();
this.data.forEach(d => d.total = d.posts + d.replies + d.reposts);
@ -184,7 +184,7 @@
</style>
<script>
this.viewBoxX = 365;
this.viewBoxY = 60;
this.viewBoxY = 80;
this.data = this.opts.data.reverse();
const peak = Math.max.apply(null, this.data.map(d => d.count));