summaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorhorus2020-04-24 18:26:45 +0200
committerhorus2020-04-24 18:26:45 +0200
commit79676f23c9556abd13421c4c231db5a0c9880661 (patch)
tree2475d78ecc6035411d49277d7f38b2b54c42ab0f /resources
parent8cfba341fff5ea48e8ae6556c4f40a8019bd4fb0 (diff)
downloadsenpai-79676f23c9556abd13421c4c231db5a0c9880661.tar.gz
Adds missing data to graphs.
Diffstat (limited to 'resources')
-rw-r--r--resources/views/anime.blade.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/resources/views/anime.blade.php b/resources/views/anime.blade.php
index 14d58af..5e1185d 100644
--- a/resources/views/anime.blade.php
+++ b/resources/views/anime.blade.php
@@ -205,6 +205,14 @@ new Chart(document.getElementById('members_chart'), {
borderColor: 'blue',
lineTension: 0.01,
backgroundColor: 'white',
+ },
+ {
+ label: 'Have Rated This',
+ data: {{ json_encode($anime["scored_by"]) }},
+ file: 'false',
+ borderColor: 'rgb(75, 192, 192)',
+ lineTension: 0.01,
+ backgroundColor: 'white',
}
]
},