kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.96k stars 232 forks source link

have data overlap with graph or show data next to icon #901

Open nschloe opened 1 year ago

nschloe commented 1 year ago

I usually go for the arrangement

align_icon: left
align_header: left
align_state: right

screenshot_2023-12-04-103008

This makes more sense to me since the data point is on the right of the graph. Unfortunately, this takes up quite some vertical space. I'd like to move the temperature reading up like

f

Is this possible yet?

piit79 commented 1 year ago

I would also love this, it would allow the card to be more compact / show "more graph" in the given space.

I thought this was already requested before, but couldn't find the issue.

ildar170975 commented 1 year ago

Assume there is an overlapping as you proposed:

изображение

So, the graph area is this:

изображение

Means - a bit later the graph will like his (made in MS paint):

изображение

As you said - "Note that, after some time has passed, the graph with indeed overlap with the printed data. I wouldn't mind that much though. " Not nice. So, the graph area should never overlap the "state" label. I propose to exclude the "overlap" word from the issue's title. Make it like "Compact card's presentation" or something...


Other alternatives - like "show icon, state, name on the same line" - probably could be implemented in future.


Currently some tweaks may be achieved by using card-mod, like:

ildar170975 commented 9 months ago

. I've edited the original post to only include the last option ("show icon, state, name on the same line").

Well, you tried to make the 1st post more clear - but then you made my later posts unclear & meaningless, became a waste of my time. Other people may also have similar proposals like you (which you deleted) - now it became a mess. Suggest to restore somehow your initial proposal - may be placed in the end of your post & probably marked as "turned to be not a good idea".