kalkih / mini-graph-card

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

Fill to be between line and zero #899

Closed layanto closed 1 year ago

layanto commented 1 year ago

Is it possible to configure fill to be between line and zero? I want to mimic the graph below from Sungrow's iSolarCloud. Presently the fill appears to be between line and bottom of graph regardless of whether line value is positive or negative and regardless if bottom of graph is zero or negative.

Screenshot_2022-12-29-12-52-41-413_com.isolarcloud.manager.jpg

This is what it looks like presently in HA. Screenshot_2022-12-29-12-47-05-762_io.homeassistant.companion.android~2.jpg

ildar170975 commented 1 year ago

Duplicates https://github.com/kalkih/mini-graph-card/issues/630