Chart.js

(function() { var ctx = document.getElementById('casechart').getContext('2d'); var chart = { labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'], datasets: [{ data: {{ json_encode($casescount) }}, fillColor : "#f8b1aa", strokeColor : "#bb574e", pointColor : "#bb574e" }] }; new Chart(ctx).Line(chart, { bezierCurve: false, pointDotRadius : 3 }); })();

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.