WTH can't I zoom in or out on history graphs

When I have for example a 6hr time frame set in “hours to show” in the history graph card, it would sometimes come in handy to zoom in and out on that time window by just using your mouse scroll wheel.

…and a pinch to zoom on mobile would also be good

10 Likes

You have my vote. Openhab and co. have this feature already. Manual selection is no more touch of the art…

YES! This is something which always annoyed me. Looking at a graph, it’s very common to want to expand or zoom in on the time range.

I’d say this should be available for any graph, not just history graphs.

2 Likes

This custom card is an excellent replacement for the built in history graphs and has this functionality.

5 Likes

The History Graph card could really use some improvements

  1. Clicking (double clicking) should give a zoomed pop up similar to other cards.
  2. There should be a way to click one of the entities in graph and get to the entity graph pop up functionality that you can get from the sensor card, or from clicking an individual entity in the Entities card. The entity pop up gives you access to Show more, etc. I shouldn’t have to show an entity in another card just so I can click on it to get more information than what is available in the history graph.
  3. Some way to adjust the time frame in the pop up would be great.
  4. The option for Bar charts would be great.
3 Likes

@jazzyisj thanks for that, I’ll take a look at it, but that brings to another WTH – WTH Do we need to have so many custom cards? Why don’t any of these custom cards get promoted to become part of Home Assistant?

4 Likes

That is worth a separate WTH! Post the url back and you’ve got my vote.

Graphs needs more love from developers definitely! Zooming, colors chooser, axis customization, etc.

2 Likes

I share the concerns about custom cards. I have enough to do to keep on top of breaking changes and flat-out bugs in the HA core and all the integrations I use. Custom cards, however useful, would add to the workload (and risk) with each update.

I’d vote for a WTH about improving the existing cards rather than steering users to custom cards.

2 Likes

But I like my custom history card :frowning:

Joking aside, there’s not much that can break in that specific card in terms of HA updates, as I kept the coupling very loose on purpose (specifically to avoid the thing breaking on updates, I rely on that card myself). But yeah I agree, if these fundamental features would be in core (and they should have been from the start), I wouldn’t have developed that card to begin with.

1 Like

If the process wasn’t too onerous, would you contribute your custom card to be part of the core lovelace cards?

I guess why not, mostly depends on how involved and time consuming that process would be.

1 Like

History Explorer card looks great – can’t wait to start using it. There’s a lot in the README. Looks like there are many things it can do that I would have expected to have to use something external like Grafana.

Bar graphs for total increasing entities is one of those things that has been bugging me in Home Assistant. I’ve been using RRDtool for many many years where things like that are relatively easy.

Thanks for developing it!

Love to see more interactive graphs within HA, now I have to use Grafana for more detailed and accessible view.

Would also love to have a move-time and zoom-in feature within the charts!

1 Like

Me to. Dear developers (hope this will be read and responded by one of the lead developers):

Please prioritise the improvement of the history graph. It’s one of the key functions to read and interpret our data but it’s now too basic and fails. It’s prehistoric and looks like development on this major function has been standing still. Take a look at domoticz how they did this. Just to get an impression.

What’s could be improved in favour of the majority of Home Assistant users?

  • Zoom in/out (pinch to zoom on IOS/scroll to zoom on the web GUI etc.) to decrease/increase the graph time scale. Now users must make too many steps and many clicks for selecting for example the last hour of received data. Unfortunately totally unusable to analyse entity values.
  • Make it possible to point at any position above the graph line to show the data. Now on IOS it requires you to EXACTLY touch the plotted graph line to show the values. This is terrible. Even worse: When you want to see the value in a graph the shown values are exactly displayed under your finger tips. I now need to redo my touch selection min. 5 times to make sure it shows the correct point in time and I touched really the lowest value. It’s not usable like this and so not user friendly.
  • Make it possible to show with one click the RAW data in a table. Such as time and value in per row.
  • Make it possible to choose a second/third sensor the present two or more values in one char such temperature/humidity/pressure/other sensor data.
  • Make it possible to show different graphs such as the BAR charts above.

Your respond to this request is much appreciated. Thank you so much in advance.

3 Likes

3 years and only 4 hundred votes? I registered here only to vote for this feature)))

3 Likes

Agreed, I’m really missing pinch to zoom in graphs, selecting date/time range is really cumbersome.