Buttons for time frames in history of sensor

Hello,

often I want to see the history of a sensor for another time frame than 24 hours (sometimes more, sometimes less time) for analyzing something. The choosing of the time with the drop downs is quite time consuming.
Thus it would be great to have some buttons for specific times frames, like in the picture:

Thank you!