score:0

you can add this properties into your code:

scaleoverride : true,
scalesteps : 5,
scalestepwidth : 5,
scalestartvalue : 0, 

score:1

is this what you are looking for?

var data = {
    labels: ["jan", "feb", "mar", "apr", "may", "jun", "jul", "aug", "sep", "oct", "nov", "dec"],
    datasets: [
        {
            label: "my first dataset",
            fillcolor: "#ffc069",
            strokecolor: "rgba(220,220,220,1)",
            pointcolor: "rgba(220,220,220,1)",
            pointstrokecolor: "#ff9c85",
            data: [45, 39, 40, 31, 26, 45, 10, 36, 25, 30, 2, 10]
        }
    ]
};

var ctx = document.getelementbyid("mychart").getcontext("2d");
var mylinechart = new chart(ctx).line(data, {
    // adjusting your scale labels
    scalelabel: "<%=value/10%>m",
    // adjusting your scale
    scaleoverride: true,
    scalesteps: 5,
    scalestepwidth: 10,
    scalestartvalue: 0,
    // ajusting tooltips
    tooltiptemplate: "<%if (label){%><%=label%>: <%}%><%= value / 10 %>m",
});

fiddle - http://jsfiddle.net/t0o07xbf/


Related Query

More Query from same tag