title: How to set the number of of rows in a line chart in chart.js?
body: <p>Given a label of dates from the pass 9 days and a data set of numbers(2.5,1.5 etc), I want the the numbers/labels at the y-axis to be whole numbers from 1-5 while maintaining the points. What I'm trying to say is I want to have a fixed number of rows in the grid and I'm clueless on how to do it. Can anyone help me?</p>
  
  <p><strong>Current Graph:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/Xxjzl.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Xxjzl.png" alt="enter image description here"></a></p>
  
  <p><strong>Expected Graph:</strong></p>
  
  <p><a href="https://i.stack.imgur.com/vA03h.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vA03h.png" alt="ar"></a></p>