How to set max and min value for Y axis

后端 未结 17 2112
既然无缘
既然无缘 2020-11-27 11:08

I am using line chart from http://www.chartjs.org/ \"enter

As you can see max value (1

17条回答
  •  臣服心动
    2020-11-27 11:20

    The above answers didn't work for me. Possibly the option names were changed since '11, but the following did the trick for me:

    ChartJsProvider.setOptions
      scaleBeginAtZero: true
    

提交回复
热议问题