mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 13:53:09 +02:00
🎨
This commit is contained in:
parent
d16b0ae064
commit
6391caa60c
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue