let chart = new Chart(ctx, { data: { //labels: ['Jan', 'Feb', 'March', 'April', 'May', 'June', 'July'], datasets: [ { type: 'bar', label: ['Fine Planning'], data: [10, 100], backgroundColor: ['#990000', '#0066CC'], //borderColor: 'red', borderWidth: 1, barThickness: 22, yAxisID: 'y', order: 2, }, { type: 'line', yAxisID: 'y1', order: 1, label: ['Inventory'], data: [], backgroundColor: ['yellow'], fill: false, borderColor: 'yellow', //tension: 0.1, pointStyle: 'line', radius: 10, //hoverRadius : 10, // showLine: false, borderWidth: 6 } ] }, options: { scales: { y: { position: 'left', type: 'linear', beginAtZero: true, min: -3, max: 4, }, y1: { scaleLabel: { display: true, labelString: 'LABEL', }, type: 'logarithmic', position: 'right', }, } } });