From 79676f23c9556abd13421c4c231db5a0c9880661 Mon Sep 17 00:00:00 2001 From: horus Date: Fri, 24 Apr 2020 18:26:45 +0200 Subject: Adds missing data to graphs. --- resources/views/anime.blade.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'resources') 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', } ] }, -- cgit v1.2.3