Remove the vertical line in the chart js line chart

后端 未结 5 1808
孤街浪徒
孤街浪徒 2021-02-05 01:21

I am using Chart.js to generate maps and have customised it to a good extent. But I am not able to remove the vertical grid line no matter what. Has anyone come acr

5条回答
  •  耶瑟儿~
    2021-02-05 02:22

    There's a new global option that was released with the new version of Chart.js two days ago.

    var options = {
        scaleShowVerticalLines: false
    }
    

提交回复
热议问题