如何设置 Y 轴的最大值和最小值 - How to set max and min value for Y axis

问题:

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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章