echart写了y轴的min和max为什么不起作用

    yAxis: {
                show: true,
                type: 'value',
                min:50,
                max: 120,
                //Y轴刻度文字
                axisLabel:{
                    show:true,
                    padding: [0, 6, 0, 0],
                    showMaxLabel:true,
                    showMinLabel:true,

                },

加上红色的内容就可以啦

猜你喜欢

转载自blog.csdn.net/qq_33769914/article/details/124684610