If you want to exchange the XY axis in a graph, you can select Graph: Exchange X-Y Axes menu. If you want to change the source X/Y column, you can move the real X column to first and set the column designation.
For "How to make the fitting in the vertical direction", I think you can fit the curve and then exchange the X and Y axes for the fitted curve.