function makeLabelsByCustomizedCategoryInterval(axis, categoryInterval, onlyTick) {
    var ordinalScale = axis.scale;
    var labelFormatter = makeLabelFormatter(axis);
    var result = [];

    each$1(ordinalScale.getTicks(), function (tickValue) {
        var rawLabel = ordinalScale.getLabel(tickValue);
        if (categoryInterval(tickValue, rawLabel)) {
            result.push(onlyTick
                ? tickValue
                : {
                    formattedLabel: labelFormatter(tickValue),
                    rawLabel: rawLabel,
                    tickValue: tickValue
                }
            );
        }
    });

    return result;
}
Different from `zrUtil.map(axis.getTicks(), axis.dataToCoord, axis)`,
`axis.getTicksCoords` considers `onBand`, which is used by
`boundaryGap:true` of category axis and splitLine and splitArea.
@param {Object} [opt]
@param {Model} [opt.tickModel=axis.model.getModel('axisTick')]
@param {boolean} [opt.clamp] If `true`, the first and the last
       tick must be at the axis end points. Otherwise, clip ticks
       that outside the axis extent.
@return {Array.<Object>} [{
    coord: ...,
    tickValue: ...
}, ...]