Implement get_axis_bin_index if the axis edge value type is an object.