echarts 隐藏刻度

echarts yekong 251℃

echarts 刻度是通过axisTick的show来控制显示隐藏的
wanjunshijiecom 2021-08-17 at 06.10.22@2x

axisTick:{show:false}
option = {
    title: {
        text: 'Awesome Chart'
    },
    xAxis: {
        data: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat']
        
    },
    yAxis: {axisTick:{show:false}},
    series: [{
        type: 'line',
        data:[220, 182, 191, 234, 290, 330, 310]
    }]
};
喜欢 (0)