If you want to use variable X-Axis as per the selection of Y-Axis, it can be achieved simply by using a Radio Button and let that selection choose the X axis corresponding to the Y axis(using filtered rows option). However, in your case since you have columns you will need to firstly, create a transpose of the data to be able to filter the selected rows and secondly, you need to identify the X axis Row and the Y axis Row separately.
This can be achieved using a bit of excel formulas, Line Chart and Radio Button Selection.
Regards,
Abhishek