echarts使用记录(三):x/y轴数据和刻度显示及坐标中网格显示

1、去掉坐标轴刻度线,刻度数据,坐标轴网格,以Y轴为例,同理X轴

xAxis: [{
    type: 'category',
    axisTick: {//决定是否显示坐标刻度  
        alignWithLabel: true,
        show:false
    },
    axisLabel:{  //决定是否显示数据  
        show:false
    }
}],
yAxis: [{
    type: 'value',
    axisTick: {
        show: false
    },
    splitLine:{  //决定是否显示坐标中网格
        show:true
    }
}],

 

 

 

 

猜你喜欢

转载自www.cnblogs.com/goloving/p/9110951.html