How to place checkboxes in the same row?
You need to split your layout or column or whatever with split() method.
def draw(self, context):
    layout = self.layout()
    props = context.scene.my_props # your properties
    col = layout.split()
    col.prop(props, &quot;x_axis&quot;) # your property name
    col.prop(props, &quot;y_axis&quot;) # your property name
    col.prop(props, &quot;z_axis&quot;) # your property name

More on UI Layout