kalkih / mini-graph-card

Minimalistic graph card for Home Assistant Lovelace UI
MIT License
2.85k stars 231 forks source link

A weird padding when "fill: false" #1109

Open ildar170975 opened 3 weeks ago

ildar170975 commented 3 weeks ago

Compare these cards:

  1. fill: true:

    type: custom:mini-graph-card
    entities:
    - entity: sensor.xiaomi_cg_1_temperature
    show:
    fill: true

    изображение

  2. fill: false:

    type: custom:mini-graph-card
    entities:
    - entity: sensor.xiaomi_cg_1_temperature
    show:
    fill: false

    изображение

  3. show_fill: true:

    type: custom:mini-graph-card
    entities:
    - entity: sensor.xiaomi_cg_1_temperature
    show_fill: true

    изображение

  4. show_fill: false:

    type: custom:mini-graph-card
    entities:
    - entity: sensor.xiaomi_cg_1_temperature
    show_fill: false

    изображение

There is a weird padding when fill: false.

StevenBay commented 2 days ago

I can add that as soon as fill: (i doesn't need to be specified) exists under show: the legend moves: fill: false and fill: 2024-07-03_145351-Overview – Home Assistant - Vivaldi fill: true 2024-07-03_145514-Overview – Home Assistant - Vivaldi