supporting number type in axis()