Edit: I edited the post to show the horizontal rows of an empty graph, as @zazu asked him to
In this example, I set the chart chart Chart.js, providing the first data set with data (to scale the vertical axis of the grid and display horizontal lines), and the second with empty data. This leads to an empty diagram, but with a full grid visible:
var data = { labels: ["January", "February", "March", "April", "May", "June", "July"], datasets: [
<script src="http://www.chartjs.org/assets/Chart.js"></script> <canvas id="myChart" width="400" height="400"></canvas>
JSFiddle here .
source share