echarts 修改y轴刻度间隔问题

其中min、max可以自定义可以动态获取数据

yAxis : [

                    {
                        type : 'value',
                        axisLine:{show:true,
                        lineStyle:{color:'#ccc'}
                        },
                        axisTick:{
                        show:false,                         
                        },
                        axisLabel:{
                        show:true,
                        inside:true
                        },
                        min:min,
                        max:max,
                        splitNumber:8
                         
                    }
                ],
posted @ 2019-01-04 15:46  雪莉06  阅读(15454)  评论(0编辑  收藏  举报