(function ($) { "use strict"; /*---------------------------- Chart bundle.js ------------------------------ */ var ctx = document.getElementById("bissChart").getContext('2d'); var myChart = new Chart(ctx, { type: 'line', data: { labels: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug" ], datasets: [{ label: '# of Profit', data: [3, 10, 8, 15, 17, 14, 22 , 26], backgroundColor: [ 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)', 'rgba(248,179,42, 0.2)' ], borderColor: [ 'rgba(248,179,42, 1)', 'rgba(54, 162, 235, 1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', 'rgba(153, 102, 255, 1)', 'rgba(255, 159, 64, 1)' ], borderWidth: 1 }] }, options: { scales: { yAxes: [{ ticks: { beginAtZero:true } }] } } }); })(jQuery);