How to change graphics settings through slider?

By the way, I made 4th setting, just to match the maximum. If I will separate the slider to 3 points, in my opinion, it may create infinite numbers like 1/3.