Filter data in Graphs on Dashboard

I built a thermometer by ESP32 and an NTC, I connect this to my WiFi network and thanks to MQTT and Raspberry Pi 4 I'm collecting measurements every 15 minutes.
I would like to represent the temperature measurements in a line chart and I would like to have the ability to filter them for date and time.
The second problem is: max and min value. The graph have the max and min properties but in this way them are static. I must always show the zero value, but if I set it as a minimum and the temperature drops below zero the graph does not show that value.

Someone have any ideas?

Thanks in advance

Alan Masutti