tick

描述:当前是关于Echarts图表中的 柱状图 示例。
 
            let b = [true, false, true, true]
option = {
    xAxis: {
        type: 'category',
        data: ['Mon', 'Tue', 'Wed', 'Thu'],
        axisTick: {
            show: true,
            interval: function (index) {
              // return index && !!x2Data[index]
              return b[index]
        },
        length:50,
        alignWithLabel: false,

      },
    },
    yAxis: {
        type: 'value'
    },
    series: [{
        data: [820, 932, 901, 934],
        type: 'bar'
    }]
};