mini-graph-card
mini-graph-card copied to clipboard
Feature request: show time without having to show points
I like the graphs very much, but I don't like how it shows the points, especially when there are many per hours (like one every ten minutes). If we hide the points we lose the information about time. Would it be possible to hide the points but keep the time information visible somehow? Either by hovering with the mouse (like for the points) or with a time scale below...
What I don't like here is the way the points show up as circles and ruin the picture. On the other hand, if I disable the points (show_points = false) I lose the information about the time on the x axis.
hide the points but keep the time information visible somehow
Please check this: https://github.com/kalkih/mini-graph-card/discussions/904
Also, FR = detailed description of some functionality. Please provide a consistent algorithm.
Please provide detailed description of your proposal.
#904 says exactly the same thing. I cannot provide an algorithm for the same reason why I cannot do the change myself. What me and Shasdo are proposing is that when you hover on the line, the coordinates of the mouse pointer should be enough for the card to pick up the underlying point and use it to display the relative data, without drawing a circle around all the other points which are not under the mouse pointer. You may indeed not know beforehand where all points are, but this behaviour is consistent to what the normal graph card already does.
I think, currently, the "tooltip" (that is showing the hovered-over data point as state) is tied to a mouse-over event of the rendered data point. So, I'm not sure this can be added easily.
Maybe, as a workaround, you can set up the points to be so small that they don't disturb the optics of the graph?