Accepted answer

Using the showScale option would be better

var ctx = document.getElementById("LineWithLine").getContext("2d");
new Chart(ctx).Line(data, {
    showScale: false

Fiddle -

This hides gridlines too. If you want to hide only the axes and labels and not the grid lines, just set scaleFontColor and scaleLineColor to a transparent color.


I found that if you edit a library posted in this answer, you can achieve this

In chart.js, Is it possible to hide x-axis label/text of bar chart if accessing from mobile?

Related Query

More Query from same tag