ECharts-option配置-x轴、刻度、文字相关设置

说明

官方解释:
https://echarts.apache.org/zh/option.html#xAxis.axisTick

代码

xAxis: {
    type:'category', // 可略
    data: ['衬衫', '羊毛衫', '雪纺衫', '裤子', '高跟鞋', '袜子'],
    axisLine:{ // 不显示坐标轴线
        show:false,
    },
    axisTick:{
        show:true,// 显示刻度,可略
        alignWithLabel:true,// 刻度在标签居中位置对齐
    },
    axisLabel:{//设置文字颜色
        color:"rgba(255,255,255,.9)"
    }
},
yAxis: {
    axisLabel:{
        color:"rgba(255,255,255,.9)"
    }
},

原文出处:/show_1IX6j52aq10M.html