Customize timeline when Graphing History

Hi All,

Just installed 51.0. Happy to report history page is much faster!

I have a few graphs that monitor motion and sound on webcams and use MQTT to report to HA Sound monitoring via Web Cam

I have two issue that I would like to improve these sensors.

  1. Customize the timeline
    Currently the history is for the last 24 hours. In my situation I would much prefer to see the last 6 hours to see a more detailed view. Is there a way to chose how many hours are presented in the history graph when a sensor is clicked?

  2. Remove diagonal lines
    As you can see in the image bellow there are diagonal lines from the last state change to the most recent. I have tried reporting a 0 state then a 1 state each time motion is detected but this does not resolve the issue. I could use a scale of 0 (no motion) - 100 (motion) and then report a 1(pre-motion) just before the 100 but that is a bit of a hack and would still have a small diagonal from 0 to 1 before going up to 100. Any other ideas???
    imageScreenshot 2017-08-13 07.44.36

Thanks to the developers for all the work. This is an awesome project!