FoeceDwercep
New Member
so i have a chart that i want to include in my website, i use chartjs that is pretty awsome but in the Y-axis it gives me real numbers instead of integers, and that's what i want, here's a picture of what i have now:
and that's the code:\[code\] var lineChartData = http://stackoverflow.com/questions/15751571/{ labels : ["2013/04/01","2013/03/31", "2013/03/30", "2013/03/29", "2013/03/28","2013/03/27", "2013/03/26"], datasets : [ { fillColor : "rgba(151,187,205,0.5)", strokeColor : "rgba(151,187,205,1)", pointColor : "rgba(151,187,205,1)", pointStrokeColor : "#fff", data : ["0", "2","1", "0", "1","0","1"] } ] }var myLine = new Chart(document.getElementById("canvas").getContext("2d")).Bar(lineChartData);\[/code\]