2 thoughts on “Hide Vertical Grid Lines

  1. You should use gridLines.display now instead of gridLines.drawOnChartArea

    var chartInstance = new Chart(ctx, {
      options: {
        scales: {
          xAxes: [{
            gridLines: {
              display: false
            }
          }],
          yAxes: [{
            gridLines: {
              display: true
            }
          }]
        }
      }
    });

Comments are closed.