title: Chart.js category y-axis line chart
body: <p>Using Chart.js 2.0, how to draw a line chart with category y-axis?</p>
  
  <p>Here is my code</p>
  
  <pre><code>    var ctx = $("#myChart");
      var scatterChart = new Chart(ctx, {
          type: 'line',
          data: {
              labels: ["January", "February", "March"],
              datasets: [{
                  label: "January",
                  data: [{
                      x: -10,
                      y: "January"
                  }, {
                      x: 0,
                      y: "February"
                  }, {
                      x: 10,
                      y: "February"
                  }]
              }]
          },
          options: {
              scales: {
                  xAxes: [{
                      type: 'linear',
                      position: 'bottom'
                  }],
                  yAxes: [{
                      type: 'category',
                      position: 'left'
                  }]
              },
              showLines: false
          }
      });
  </code></pre>
  
  <p>Here is the <a href="https://jsfiddle.net/6Lvx4gLn/1/" rel="nofollow noreferrer">JSFiddle</a></p>
  
  <p>In this way, the following graph is generated where not points is shown in the coordinate:</p>
  
  <p><a href="https://i.stack.imgur.com/Rg1lH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Rg1lH.png" alt="enter image description here"></a></p>
  
  <p>Thanks in advance.</p>