Chartjs-Chart JS Displays Only Bigger Dataset But Has Both Datasets?

0👍

Ended up finding the options needed in another Chart JS post, this is what I was missing.

    var myBarChart = new Chart(bar, {
        type: 'bar',
        data: data1,
        options: {
        scales: {
            yAxes: [{
                ticks: {
                    beginAtZero: true
                }
            }]
        }
    }
    });

It appears he "beginAtZero" is what was missing. This now works as expected.

Leave a comment