問題:
I am using line chart from http://www.chartjs.org/我正在使用來自http://www.chartjs.org/ 的折線圖
As you can see max value (130) and min value (60) for Y axis are chosen automatically , I want max value = 500 and min value=0.正如您所看到的,Y 軸的最大值 (130) 和最小值 (60) 是自動選擇的,我想要最大值 = 500 和最小值 = 0。 Is this possible?這可能嗎?
解決方案:
參考一: https://stackoom.com/question/1xdo4參考二: How to set max and min value for Y axis