Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
LiesIsLeuk committed Nov 30, 2023
1 parent 2363dbd commit d38a821
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion layouts/shortcodes/chart_1.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ <h3>
(e) => {return e[1]['per_subject']}
);

console.log(withinResults);


var ctx = document.getElementById('{{ $id }}').getContext('2d');
var options = {
Expand Down Expand Up @@ -133,7 +135,7 @@ <h3>
padding: 10,
itemRadius: 0,
data: withinResults.slice(10)
}]
},]
};
var ctx = document.getElementById("canvas").getContext("2d");
new Chart(ctx, {
Expand Down

0 comments on commit d38a821

Please sign in to comment.