Axis Remapping for BHI160B on ESP32-S3 (Arduino Library)

In that they have mentioned the x,y and z-axis. But I want to know how to change using Arduino library with ESP32(Which functions are used to change axis remapping).