Chart js label not showing

๐Ÿ‘:0

I got it working. I copied the JS from:
http://jsfiddle.net/nCFGL/223/

//Chart.js 

//Define the global Chart Variable as a class.
var Chart = function(context){

var chart = this;

to make the chart.js file. Something is missing in the chart.js file I downloaded.

๐Ÿ‘:0

Use this

scales: {
    xAxes: [{
        stacked: false,
        beginAtZero: true,
        scaleLabel: {
            labelString: 'Month'
        },
        ticks: {
            stepSize: 1,
            min: 0,
            autoSkip: false
        }
    }]
}

Leave a comment