custom-cards / bar-card

Customizable Animated Bar card for Home Assistant Lovelace
MIT License
378 stars 54 forks source link

Feature request: Use negative/positive rage and start the bar at zero #178

Closed RonnyWinkler closed 7 months ago

RonnyWinkler commented 8 months ago

I like this bar. But I have issues to get a nice layout using a min/max range with negative values.

Example: I would like to use the bar to show battery usage in Watt für the PV system (negative: charging, positive: dischanging). With min:-4000 and max:4000 I can define a range to show. But the bar is started at the left border, not in the middle (at zero): grafik

Could it be possible (or extended) to show the bar from the zero value like this example? grafik

PulsarFX commented 7 months ago

same as #143 ?

RonnyWinkler commented 7 months ago

Yes, it's the same. I missed the other request. So this duplicate can be closed.